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.

How to add www as subdomain

Discussion in 'General Discussion' started by damien.volker, Feb 8, 2014.

  1. damien.volker

    damien.volker Registered

    Joined:
    Feb 8, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I need to show different websites for the www and non-www versions of the website.
    I tried to add www as a subdomain but cpanel won't let me.
    Is there any solution for this?
     
  2. markhard

    markhard Well-Known Member

    Joined:
    Apr 22, 2004
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    www. by default is created for each domain added to cpanel which point to the domain name (without www)

    easiest way is to create www2. for example
     
  3. damien.volker

    damien.volker Registered

    Joined:
    Feb 8, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    thanks for the reply, but i don't want to have www2, i want to have www.domain.com
     
  4. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    As markhard mentioned, that's done automatically by default. When you create the domain.com account, www.domain.com is created automatically. So you can not then create a subdomain for www.
     
Loading...

Share This Page