shared IP shows website
The shared IP shows a website instead of the default page [Removed URL]
Without changing the Apache config file is there something in cpanel I can change to fix this?
-
Hello :) You should be able to return it to the default state by rebuilding the Apache configuration file via: /scripts/rebuildhttpdconf
Thank you.0 -
Still no luck, here is the output: info [rebuildhttpdconf] Missing owner for domain dwhs6.dwhs.net, force lookup to root Built /usr/local/apache/conf/httpd.conf OK 0 -
Hello, It is due to the default virtualhost entries are missing. Add following lines immediately after NameVirtualHost definitions ( make sure you edit IP, Hostname and email address ) and run distiller, restart apache. =========== :80> ServerName 198.235.134.106 DocumentRoot /usr/local/apache/htdocs ServerAdmin info@yourdomain.com suPHP_UserGroup nobody nobody # Default vhost for unbound IPs ServerName DocumentRoot /usr/local/apache/htdocs ServerAdmin info@yourdomain.com suPHP_UserGroup nobody nobody ==================== Run another conf rebuild to make sure it persists. 0 -
I have fixed it by moving both /etc/userdomains and httpd.conf . Then executed /scripts/updateuserdomains and /scripts/rebuildhttpdconf Thanks Sreeni 0 -
So I added this: ServerName dwhs6.dwhs.net DocumentRoot /usr/local/apache/htdocs suPHP_UserGroup nobody nobody # Default vhost for unbound IPs ServerName dwhs6.dwhs.net DocumentRoot /usr/local/apache/htdocs suPHP_UserGroup nobody nobody And well apache crashed, oddly enough when I removed it and restarted apache it's redirecting correctly now. Thanks! 0 -
[quote="DWHS.net, post: 1550672">oddly enough when I removed it and restarted apache it's redirecting correctly now.
It's possible that initially running /scripts/rebuildhttpdconf resolved the issue and you were viewing cached data in your browser.0 -
Yep, that would make more since. I of coursed refreshed but you never know with caches. Thanks! 0
Please sign in to leave a comment.
Comments
7 comments