Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Nameservers, redirection and Wordpress.  (Read 2802 times)

0 Members and 1 Guest are viewing this topic.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Nameservers, redirection and Wordpress.
« on: February 21, 2017, 08:30:33 PM »
This is not really a WordPress problem. The used of a relative directory is a standard thing. You should be able to just specify a relative directory and everything would  work. When I install WordPress, it asks for a directory or yu can just put it in the root.

OK, now the problem. I changed the name of my web site and had to set name servers for the new domain. Well, name servers are often very slow to propagate. I know that.  Something went wrong.

Rather than pay for a new webspace, I wanted to just put the new domain on the same web server. I did that before and it was fine. But my news domain name is not one of the common type.

Here is an example, but not really my real domain names. Let's say I have two domain names.
  olddog.com        <- a popular type
  newdog.us         < - a less used type
So the web space is for the first item, the old popular name.
The second name, the less used kind,  shall be a sub domain on the old site.
This is done with a form of redirection. Like this
 www.newdog.us points to www.newdog.olddog.com
OK, but the real locationsare:
  /public_html is the directory for the old name .
  /public_html/newdog.us is directory for the new name
Of course when you get to either site the user never sees public_html in the address bar. It looks like both sites are independent.
However, you could do this:
  www.newdog.us
  www.newdog.olddog.com
  www.olddog.com/newdog.us

All three would bring up the same index.htm automagically. The same file, not three copies of the same file. There is only one index.htm for newdog,.us on the server.
Now when I install word press , it has to go on
  newdog.olddog.com        :)
It twill mess upon
   newdog.us         >:(     
But anybody who goes to the site must use
   newdog.us
Which becomes redirected to
   newdog.olddog.com

It took me days to get that right.
They do not warn you.   :(

If you have an explanation,I might listen. Or maybe not.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Nameservers, redirection and Wordpress.
« Reply #1 on: February 22, 2017, 01:25:26 AM »
Why was setting the A Records on the new domain insufficient?
I was trying to dereference Null Pointers before it was cool.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: Nameservers, redirection and Wordpress.
« Reply #2 on: February 22, 2017, 12:26:29 PM »
I don't know.I did not touch the records. The cpanel software does stuff automatically. I do not know if there is anything I could do.
The apparent issue is the propagation delay may have made things hard. At one point I used redirection and then switched to another name server. That must have confused the DNS everywhere. But I do not have any tools at hand to diagnose the problems.
Network-Tools.com has a trace and it shows there is a lot of time out on the path to my new domain. I hope in time the DNS will catch up and work good.

It just might be that the new domain, with its odd TLD, is not given much priority by the Internet. It is a case of TLD discrimination.  Can I sue the Internet?  ::)

Could you go to Network-Tools.com and test my new domain?
The new domain is :
geek9pm.club        (Do not use www or http, just the raw domain.)
I am still getting sometime outs.  :(


BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Nameservers, redirection and Wordpress.
« Reply #3 on: February 22, 2017, 04:26:19 PM »
The way I understand how it works, You point a domain at a web server via an A record in it's DNS configuration; things like CPanel is for your web host, and not for the domain. And yes, it's confusing, which is why I only look it up when I have domain issues myself, hah. I'd expect it to be similar to my case (except in my case it was a new domain pointing at the same web-server without an "official" name change)

I see the tool can show DNS records as well. Let's take a look see.

geek9pm.com:

Code: [Select]
184.168.221.53 is from United States (US) in region North America
Input: geek9pm.com
canonical name: geek9pm.com
Registered Domain: geek9pm.com


Retrieving DNS records for geek9pm.com...
DNS servers
ns48.domaincontrol.com
ns47.domaincontrol.com

Answer records

Authority records

Additional records

geek-9pm.club
Code: [Select]
149.56.18.183 is from United States (US) in region North America
Input: geek9pm.club
canonical name: geek9pm.club
Registered Domain: geek9pm.club


Retrieving DNS records for geek9pm.club...
DNS servers
ns12.webfundament.com
ns11.webfundament.com

Answer records
geek9pm.club SOA
server: ns11.webfundament.com
email: (removed)
serial: 2017022002
refresh: 3600
retry: 7200
expire: 1209600
minimum ttl: 86400
86400s
geek9pm.club NS ns12.webfundament.com 86400s
geek9pm.club NS ns11.webfundament.com 86400s
geek9pm.club A 149.56.18.183 14400s
geek9pm.club MX
preference: 0
exchange: geek9pm.club
14400s

Authority records

Additional records
ns11.webfundament.com A 192.99.251.180 3600s
ns12.webfundament.com A 192.99.252.199 3600s


The first thing I notice is they have different IP Addresses. I think Geek9pm.club should have an A record pointing at 184.168.221.53, so they are the same? As is it seems you've got two hosting servers- one at 184.168.221.53, and one at 149.56.18.183. You can see this via a ping- they point at different IPs.

For comparison, when you ping www.google.ca and www.google.com, they are both the same IP Address.

FWIW, I have two domains pointing at one host myself. they have the same TLD but I don't think the TLD (us,ca, etc.) actually matters. bcprogramming.com and bc-programming.com, which both ping to the same IP Address because I used the same "A" record on bcprogramming.com as was on bc-programming.com- two domains, one webhost (now VPS, actually).

I was trying to dereference Null Pointers before it was cool.

Geek-9pm

    Topic Starter

    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: Nameservers, redirection and Wordpress.
« Reply #4 on: February 22, 2017, 07:18:08 PM »
I have no idea why the web hos has given me two different IPs. And the IPs are the old IP4 types, they are not very unique. But that is besides the point.
Wait! It just hit me.
the gek9pm.com domain is now held by godaddy. I did not want to pay $15 to keep it, so I pad a $1 for geek9pm.club and that is why they now have two different IPs.
The web space belongs to help9pm.com and the IP is :
Quote
149.56.18.183 is from United States (US) in region North America
Input: help9pm.com
canonical name: help9pm.com
Registered Domain: help9pm.com
Which is the same as geek9pm.club
And even help9pm times  outs. I guess the hosting service I have is very mediocre.
But I do not make even a penny for having t these sites, so I don't want to pay anything more than  what I have to.
You are right. The TLD does not make any difference. I just tried vcxz,us on that server and got the same response. Same IP. Same time outs.
Oh well. It does work. But it took me so long to get WordPress to get it right. It must have been the early propagation delay. Apparently the  WordPress installer got confused. It now works the way it should and I can manage my blog.

Thanks for helping.  :)