Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Nameserver/Hostname Issues

Discussion in 'Bind/DNS/Nameserver' started by fortheloveof_d, Mar 9, 2008.

  1. fortheloveof_d

    Joined:
    Mar 8, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    The only way I can seem to access my web files is when i go to the ipaddress./~username

    How would I go about getting my name server or the ip address to point to my public_html directory so when I type in the ip address (or later a domain) my web page is loaded? Thanks.
     
  2. cPanelJesse

    cPanelJesse Technical Analyst Manager
    Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    52
    Likes Received:
    7
    Trophy Points:
    133
    Location:
    Houston
    cPanel Access Level:
    Root Administrator
    That would be a dedicated IP assigned to that domain in WHM.

    If you are wanting the main IP address to show a different page, then you will need to manually modify the /usr/local/apache/conf/httpd.conf and search for NameVirtualHost IPHERE and move it just above the virtualhost for that domain.

    Please remember to save the changes over builds, you will have to run;

    /usr/local/cpanel/bin/apache_conf_distiller --update
    /usr/local/cpanel/bin/build_apache_conf
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice