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.

subdomain with www

Discussion in 'General Discussion' started by Markwaugh, Sep 13, 2003.

  1. Markwaugh

    Markwaugh Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sydney, Australia
    Hello,

    I have a subdomain http://a.b.com. I want to set up this subdomain as http://www.a.b.com i mean with www infront of the subdomain.

    I setup it some way, but if i type http://www.a.b.com i get the main domains index page. any ideas how to make it work. I have a separate index page for the subdomain.

    At present i have

    ServerAlias www.a.b.com a.b.com in httpd.conf file

    www.a.b.com. 14400 IN A 16.125.209.90 in zone file of the main domain


    Do i have to setup a separate zone file for the subdomain a.b.com like a.b.com.db .

    any ideas would be highly appreciated. Thank you for ur time.

    cPanel.net Support Ticket Number:
     
  2. Jaime

    Jaime Active Member

    Joined:
    Aug 20, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Palma de Mallorca
    You could try changing:

    www.a.b.com. 14400 IN A 16.125.209.90

    to

    www.a.b.com 14400 CNAME a.b.com.

    (I'm not sure if that works)

    or create a new zone for a.b.com.

    Jaime

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page