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

Wildcard subdomains

Discussion in 'Plesk for Windows - 8.x and Older' started by jpboyce, May 11, 2006.

  1. jpboyce

    jpboyce Guest

    0
     
    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.
     
  2. pedropadron

    pedropadron Guest

    0
     
    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
     
Loading...