jamiro911

Member
May 28, 2010
10
0
51
Hello, I have a new dedicated server and now I want to preview a website, or better there is an account with joomla installed, and work on that joomla website without a hostname allready connected to the site.
With my older server it did worked with http://ipserver/~username but with the new server it doesn't work that way.
 

jamiro911

Member
May 28, 2010
10
0
51
What error message do you receive while accessing the domain via



check the error logs at the time you browse the above URL

Where can I found -f /usr/local/apache/logs/error_log ?

is dat in WHM or cpanel? cause previewasite doesn't work anymore neither.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
27
143
Houston, TX
cPanel Access Level
Root Administrator
View logs using the shell

You must log into the shell to view the Apache logs. Log into the shell as root via SSH, and use the less or tail command to view the log. If you use the tail -f command, you can follow what is written to the file while you try to view the site.

What happens if you disable mod_userdir protection for DefaultHost (nobody)? The preview should work. If you disable protection for yourdomain.com (youracct), then it will allow mod_userdir to work for http://yourdomain.com/~someacct. This is probably not what you want, so protection needs to be disabled for DefaultHost (nobody).