• 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.

Wildcard subdomains

J

jpboyce

Guest
Previously I had a site setup by itself (not under plesk) which would allow members to input the URL xxx.domain.com where xxx was their member ID. The default.asp page would take the xxx out of the URL and then redirect them to their record.

After an OS reload, I now have the domain/site setup under Plesk. However, this functionality seems to no longer work. When I try accessing xxx.domain.com, I get a "400 - Bad request" error.

Does anyone have any suggestions on if it's possible to get this working? Thanks.
 
hey jpboyce

I think this might work for you

in your domain, access the DNS entries setup
add a CNAME record like this:

*.domain.com
pointing to domain.com

this means that if you type hskajdsoa.domain.com will open domain.com
then you can use your asp script to get the request adress

I'm not quite sure, but it's worth trying :)

hope it helps

Pedro Padron
 
Back
Top