• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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