Access to nameserver

Discussion in 'Web Hosting' started by adferger1, Mar 29, 2010.

  1. #1
    Just a short newbie questions.

    I have a VPS, and set up my own name servers:
    NS1.domain.com
    NS2.domain.com

    It works fine....
    But when I browse to http://ns1.domain.com I get the standard page from Cpanel that says:
    Default Web Site Page
    "If you feel you have reached this page in error, please contact the web site owner:"

    How do I change this to a custom page?
    Like this nameserver belongs to "Company LTD" or simply just block all http traffic to it....
     
    adferger1, Mar 29, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    That depends on if the IP you are using for that name server is assigned to a hosting account. If it is only being used as a name server, you need to tell your web server to stop listening for it, which can be done through the WHM Apache configuration settings.

    Chris
     
    RHS-Chris, Mar 29, 2010 IP
  3. WebIntellects - Rob

    WebIntellects - Rob Active Member

    Messages:
    689
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    It seems your htaccess file does not work properly. Check it first
     
    WebIntellects - Rob, Mar 29, 2010 IP
  4. adferger1

    adferger1 Active Member

    Messages:
    169
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    80
    #4
    Dont know what to look for... How should a normal htaccess file look like?
     
    adferger1, Apr 22, 2010 IP