1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Subdomain WWW prefix

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by FaintingSpells, Mar 27, 2011.

  1. FaintingSpells

    FaintingSpells Guest

    0
     
    Hi, is it possible to display a subdomain in plesk as the following:

    http://www.subdomain.domain.com

    I know obviously you can display it as the following:

    http://subdomain.domain.com

    But how would I go about in displaying it in the aforementioned? Is there a proper way of doing it in Plesk 10?

    I tried fiddling around with the DNS settings, such as CNAME and A records within Plesk... but it doesn't seem to work, or I'm doing it incorrectly, possibly.

    Could anyone give me an example of how you successfully implement this?

    I found this article: http://kb.odin.com/453

    But that only applies to Plesk 7 to 9, so I don't want to risk in even trying it with 10 or would it work in 10 also?

    Anyone?
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,238
    Location:
    Novosibirsk, Russia
  3. FaintingSpells

    FaintingSpells Guest

    0
     
    Yup, I have it exactly like that currently.


    Record Type: CNAME
    Domain Name: www.submdomain
    Canonical name: subdomain.domain.com


    Which shows up as such under the main DNS settings list:

    www.subdomain.domain.com. CNAME submdonain.domain.com.

    Do I have to restart any service of the sort, possibly?
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,238
    Location:
    Novosibirsk, Russia
    Is it resolvable from outside with your nameservers?
     
  5. FaintingSpells

    FaintingSpells Guest

    0
     
    I don't think I quite grasp what you mean by "resolvable from outside"? Could you elaborate a bit more?
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,238
    Location:
    Novosibirsk, Russia
  7. FaintingSpells

    FaintingSpells Guest

    0
     
    This is what I get:

    Using domain server:
    Name: ns1.domain.net
    Address: ##.###.###.##53
    Aliases:

    www.submdomain.domain.com has address ##.##.##.###
     
    Last edited by a moderator: Mar 28, 2011
  8. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,238
    Location:
    Novosibirsk, Russia
  9. FaintingSpells

    FaintingSpells Guest

    0
     
  10. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,238
    Location:
    Novosibirsk, Russia
    I see. I have discussed with developers and seems it is bug. Could you please fill this form - http://forum.parallels.com/showthread.php?t=106113 with all necessary details? I will forward it to developers for investigation.
    There is www prefix for domain by default but not for subdomains...
     
  11. FaintingSpells

    FaintingSpells Guest

    0
     
    Okie-dokie, can do, will do so later on today. Do I post it here, or send it to you via PM, or some other method?
     
  12. lhwparis

    lhwparis Guest

    0
     
    post it in this thread IgorG will forward it to devs
     
  13. FaintingSpells

    FaintingSpells Guest

    0
     
    Ok, lets hope I did this right :p

    Plesk Panel, 10.1.1. CentOS 5.5 (final), x86-64

    Unable to resolve WWW prefix for subdomains via DNS settings found within Plesk.

    Steps taken:

    1) Control Panel > Websites & Domains > DNS Settings

    2) Add Record

    3) Record Type: CNAME
    Domain Name: www.subdomain
    Canonical Name: subdomain.domain.com

    4) Direct web browser to www.subdomain.domain.com

    Actual Result:

    www.domain.com's index is actually displayed

    Expected Result:

    www.subdomain.domain.com's is expected to be displayed
     
  14. optip

    optip Guest

    0
     
    i will check it.
     
  15. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,238
    Location:
    Novosibirsk, Russia
    I have forwarded it to developers. I will update thread with results as soon as I receive it.
     
  16. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,543
    Likes Received:
    1,238
    Location:
    Novosibirsk, Russia
    CNAME record itself without webserver configuration does not make sense:
    If web-server configuration does not have virtual host matched to www.subdomain... than even you set DNS record you will see default page for this IP address. I do not think that www absence for subdomains is a bug because in Plesk 10 web-server configuration can be easily changed by you with help of Apache Configuration Guide http://download1.parallels.com/Plesk/PP10/10.1.1/Doc/en-US/online/plesk-apache-configuration-guide/
     
  17. PauloT

    PauloT Guest

    0
     
    We had the same problem using Plesk 10.2, the way we got around it was to add it twice in plesk but point to the same document root.

    So Add New Subdomain:
    Subdomain name* : subdomain.domain.com
    Document Root: /subdomaindocroot

    Ok that, then Add another New Subdomain:
    Subdomain name* : www.subdomain.domain.com
    Document Root: /subdomaindocroot
     
  18. BahmanA

    BahmanA Guest

    0
     
    Exactly. We are having this issue with www also. If our domain is not the default domain for its IP address, even www and non-www URLs is not pointing to the same hosting. I'm hoping plesk resolves this issue soon since we are hosting so many websites and have to come up with a fast solution.
     
  19. aashua

    aashua Guest

    0
     
    Last edited by a moderator: Jan 9, 2013
Loading...