Previewing website dedicated server cPanel
-
Hello :) Try updating the hosts file on your computer so that it points the domain name to the IP address of the new server. This will allow you to visit the domain name directly in your web browser before propagation occurs. [url=http://en.wikipedia.org/wiki/Hosts_(file)]hosts (file) - Wikipedia, the free encyclopedia Apache Mod_Userdir can sometimes conflict with certain configurations or Mod_Rewrite rules. Thank you. 0 -
Hi there, I don't really understand how to do this or what it really means. I have read the Wikipedia page and to be honest it just confused me! I just want to be sure that everything is as it should be before transferring over and finding that some of the site is not there etc. Its starting to look like I might have to re-direct the site to the new server whilst the old one stays alive as well and check everything then when all OK close the old one and if there are problems then can at least switch back? Thanks 0 -
Hi again, I have managed to test using that method and I get the same result. Is there a way to find out where this problem is occurring? All I have done I transfer the site across and not tampered with it at all. Thanks 0 -
Sometimes websites do not work as expected when you access them via temporary URL. In such cases you can confirm their actual working by pointing your website to new server temporarily by using hosts file of your local PC. Assuming you are using windows operating system just follow the steps below. Start > Run > C:\Windows\System32\drivers\etc\hosts Open it with notepad and add following x.x.x.x domain.com Replace x.x.x.x with your new server IP and domain.com is your actual website name. x.x.x.x 0 -
[quote="robbob, post: 1677472">I have managed to test using that method and I get the same result. Is there a way to find out where this problem is occurring? All I have done I transfer the site across and not tampered with it at all.
Do you notice any error messages in the Apache error log or within the error_log of the website when visiting the web page? Thank you.0 -
[quote="cPanelMichael, post: 1677571">Do you notice any error messages in the Apache error log or within the error_log of the website when visiting the web page?
I don't see any error messages appearing on screen and not sure how to see error messages in the Apache error log or the error_log of the website as this is beyond my current knowledge base0 -
You can review the Apache error log via the command line. It's located at: /usr/local/apache/logs/error_log
Often times, the error_log for a script will store PHP errors. It's typically located in the /home/$username/public_html directory. I highly suggest consulting with your hosting provider or a qualified system administrator if you are not comfortable viewing an error log. Thank you.0
Please sign in to leave a comment.
Comments
7 comments