Skip to main content

shared IP shows website

Comments

7 comments

  • cPanelMichael
    Hello :) You should be able to return it to the default state by rebuilding the Apache configuration file via: /scripts/rebuildhttpdconf
    Thank you.
    0
  • WebHostPro
    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
  • NixTree
    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
  • sreeninair
    I have fixed it by moving both /etc/userdomains and httpd.conf . Then executed /scripts/updateuserdomains and /scripts/rebuildhttpdconf Thanks Sreeni
    0
  • WebHostPro
    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
  • cPanelMichael
    [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
  • WebHostPro
    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.