• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Subdomain problem x.name.com works and www.x.name.com doesnt

J

jackkalduu

Guest
My subdomain x.name.com works fine but when i write www.x.name.com it doesnt work. What i did wrong this time ?

When i access subdomain with "www" i get

"
This is the Pleskâ„¢ default page

If you see this page it means:

1) hosting for this domain is not configured
or
2) there's no such domain registered in Plesk.

For more information please contact
"

Without "www" subdomains works


Anybody knows what to do to access subdomains with www. ?

Is this also concern Plesk 8.0.1 ?

To create www prefix for subdomains you need to take the following steps:

1) Create vhost.conf file in the
/home/httpd/vhosts/domain.com/subdomains/subdomain/conf
directory with the following content:

ServerAlias www.subdomain.domain.com

2) Add appropriate A record to the DNS zone of the domain in
Server->Domains->domain.com->DNS

(specify this domain's IP address instead of 192.168.1.1):

www.subdomain.domain.com. A 192.168.1.1

3) Run wersrvmng utility to apply changes.

# /usr/local/psa/admin/sbin/websrvmng -v -a
 
Back
Top