Dear All. I am facing a small issue. IP of my dedicated host is not resolving on my domain. I added following line in .htaccess file and tried to load the IP but it is pointing to default SORRY! page of cPanel. Kindly help.
RewriteCond %{HTTP_HOST} ^11\.11\.11\.11$ [NC] RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
|
A .htaccess redirect won't help. Make sure the account is set to use that IP address, and the domain correctly resolves to your server. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Thanks for the reply Nathan. Yes domain is properly resolving and my site is currently live on this server. |
Thanks for the reply Nathan. Yes domain is properly resolving and my site is currently live on this server.
Make sure the IP address the domain resolves to matches the one your site is configured to use. Also, if these changes were recent, it can take a while for your local DNS cache to update (30 minutes to a few hours).
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Nathan I had the IP set as shared IP from the server side and it was shared with one more domain. I guess this is what is causing the problem. I am still working on this, will post once it is resolved. |
Nathan I had the IP set as shared IP from the server side and it was shared with one more domain. I guess this is what is causing the problem. I am still working on this, will post once it is resolved.
I am not sure how you have your server configured; or what webserver you are using. The IP address will resolve differently depending on webservers. You can set the webserver so that the IP address to resolves to a particular site outside of any domain if you wish. Look at your webserver configuration and decide how you want things to work.
Geeks, making the world a better place |
Nathan I had the IP set as shared IP from the server side and it was shared with one more domain. I guess this is what is causing the problem. I am still working on this, will post once it is resolved.
Multiple domains can use the same IP address. Can you post an example of the cPanel page you get? Also, if you don't mind, post or PM your domain and the IP address it has listed in cPanel.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Nathan I had the IP set as shared IP from the server side and it was shared with one more domain. I guess this is what is causing the problem. I am still working on this, will post once it is resolved.
Multiple domains can use the same IP address. Can you post an example of the cPanel page you get? Also, if you don't mind, post or PM your domain and the IP address it has listed in cPanel.
Hi Nathan and geek_girl. The problem was similar to this. There was a host created for rvSkin which also had the same IP shared and so it was not resolving on my domain when accessed by IP. I changed the rvSkin IP and soon it started resolving properly.
|