The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Nameserver/Hostname Issues

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

  1. fortheloveof_d

    Joined:
    Mar 8, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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:
    51
    Likes Received:
    6
    Trophy Points:
    8
    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
     
Loading...

Share This Page