VPS pointing problems

ciberseba

New Member
Messages
7
Reaction score
0
Points
0
Hi everybody.
I am experimenting some problems after the datacenter migration.
I changed the old IP address with the new IP in my domain registrar and in all the registries on the server. But now when I try to enter my website (http://www.shikon.cl), it appears the "Default Website Page". If I enter "http://www.shikon.cl/~shikon it seems to enter to the website!). What is the problem that I have?

All the other services are functioning normal. I can access WHM, now I installed Webmin and I made all the IP and DNS config in Webmin (again), and no change. Please help!
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Did you run the IP migration wizard in WHM?

If so, via command line do this.
Code:
mv /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bk
/scripts/rebuildhttpdconf
service httpd restart
 

ciberseba

New Member
Messages
7
Reaction score
0
Points
0
Did you run the IP migration wizard in WHM?

If so, via command line do this.
Code:
mv /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bk
/scripts/rebuildhttpdconf
service httpd restart

Thanks a lot! That few lines save my day!
 

ciberseba

New Member
Messages
7
Reaction score
0
Points
0
Well, it seems to be solved, because now I cannot access the website. Server was not found problem. I did not change anything from where I put that commands on console line. What is the problem now??

I used the wizard, I restarted httpd and it worked for a while. Now I cannot enter again (it seems that the IP cannot resolve the hostname). I did not change the configuration, also now I have webmin installed to manage the DNS.

Domain registrar data:
"shikon IN NS ns1.shikon.cl.
shikon IN NS ns2.shikon.cl.
ns1.shikon.cl. IN A 99.198.122.213
ns2.shikon.cl. IN A 99.198.122.213"

Now I received an email: "The hostname (shikon.x10hosting.com) resolves to 69.162.115.129. It should resolve to 99.198.122.213. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if you
believe everything else is correct."

All the A entries are with the new IP (the old IP was 69.162.115.129), I checked it with webmin. I checked the /etc/resolv.conf file and it has the following:
"nameserver 74.63.208.3
nameserver 74.63.208.11"

Do I need to change this nameservers with my new IP (99.198.122.213)? I don't undestand why the domain is pointing to the old IP address.
 
Last edited:

ciberseba

New Member
Messages
7
Reaction score
0
Points
0
bump... nothing? nobody can help me? Two days and the website still unavailable.
 

carl6969

Community Support Team
Community Support
Messages
6,874
Reaction score
206
Points
63
If I understand this correctly, your VPS has been migrated and you have been assigned new IP Addresses. If that is the case then the original IP Addresses you were using before the migration are now unusable and you need to use the new IP Addresses. That includes assigning the new IP Addresses to your nameservers. I have been going over this thread and I am not sure this is the whole problem, but it certainly seems to be at least part of the problem. And I am sure you realize that after you change the IP's it will take up to 24 hours for propagation.
Hope this helps a little.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Solved over MSN :)

Problem was with the zone file not being correct. I deleted the zone file from /var/named/ rebuilt named.conf with /scripts/rebuildnamedconf then edited the DNS record via WHM to add the correct name server entries back in.
 
Last edited:

carl6969

Community Support Team
Community Support
Messages
6,874
Reaction score
206
Points
63
Solved over MSN
Corey to the rescue..............:biggrin:
OP was clearly frustrated with good reason.
Glad it all got taken care of.
 
Top