• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Catchall for domain and access to sub domains

W

w0uter

Guest
Hi,

What i want to have is that i can access something.domain.tld and then also can access some subdomains i already use.

So what i have done is a wildcard a record made in my DNS settings for the domain. And set in the vhost.conf file for the domain ServerAlias *.domain.tld

After i have done this i have run /usr/local/psa/admin/bin/websrvmng -a -v

Everything likes working good but when i want to access cms.domain.tld where my cms is running i cant access the site because i will see the same site as i go to www.domain.tld.

So my qeustion is now i can i use a wildcard DNS and access my virtualhosts that i have used before like cms.domain.tld
 
Back
Top