Skip to main content

Help regarding IPs and subdomains on cPanel/WHM

Comments

5 comments

  • quietFinn
    In the Apache config file /usr/local/apache/conf/httpd.conf the 1st VirtualHost entry should be like this: :80> ServerName DocumentRoot /usr/local/apache/htdocs ServerAdmin Is there another VirtualHost entry before that?
    0
  • cPanelMichael
    Hello :) Yes, you will need to ensure the default VirtualHost for your IP address appears first in the httpd.conf file as indicated in the previous post. You can sometimes resolve this issue by running: /scripts/rebuildhttpdconf
    Thank you.
    0
  • Kampreto99
    quietFinn No there's no vHost entry before this ServerName 50.23.xx.xx DocumentRoot /usr/local/apache/htdocs ServerAdmin cyberidn999@gmail.com suPHP_UserGroup nobody nobody UserDir disabled cPanelMicahel thanks i'll try it :D
    0
  • Kampreto99
    admins i try it but i got a problem root@srv1 [~]# /scripts/rebuildhttpdconf info [rebuildhttpdconf] Missing owner for domain srv1.shanjunisme.com, force loo kup to root Built /usr/local/apache/conf/httpd.conf OK root@srv1 [~]#
    0
  • Kampreto99
    ohhh thanks admin work now with me :D :D thanks [url=http://prntscr.com/2fx0pm]Screenshot by Lightshot
    0

Please sign in to leave a comment.