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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DNS Zone Edit - can't access site without www

Discussion in 'Bind / DNS / Nameserver Issues' started by skanwhost, Jul 1, 2004.

  1. skanwhost

    skanwhost Member

    Dec 24, 2003
    Likes Received:
    Trophy Points:
    Can not access site without typing the "www" before the domain name!!! Please help!!

    I am trying to edit the DNS zone file so the following will occur:

    1. Website will point to a differnt IP address which is NOT on my server (or within the network at all)

    2. FTP will point to a different IP address which is NOT on my server (or within the network at all)

    3. Mail will be delivered locally to my server.


    Currently if I type in the domain name with the "www" it resolves to the site like I want it to.

    Currently when I send mail to the domain it is delivered to my server as I want it to be.

    HOWEVER - when I try to access the domain without the www I receive the following error: "Bad Request (Invalid Hostname)


    Current Zone File Entries 14400 NS 14400 NS 14400 A xx.xx.166.60 14400 A xxx.0.0.1 14400 MX 0
    mail 14400 A xx.xx.55.167
    www 14400 A xx.xx.166.60
    ftp 14400 A xx.xx.166.60


    Any help as to the missing or wrong entry would be greatly appreciated.

  2. FriedEgg

    FriedEgg Active Member

    Sep 27, 2003
    Likes Received:
    Trophy Points:
    Washington, DC
    You need the "IN"s, should be: 14400 IN NS 14400 IN NS 14400 IN A xx.xx.166.60 14400 IN A xxx.0.0.1 14400 IN MX 0
    mail 14400 IN A xx.xx.55.167
    www 14400 IN A xx.xx.166.60
    ftp 14400 IN A xx.xx.166.60

Share This Page