• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Domain forwarding issues IIS (bug?)

Status
Not open for further replies.

DennisAm

Basic Pleskian
Hi everyone,

When I set the Hosting type for a domain to "Forwarding" and enter the URL where the domain should be forwarded to, Plesk sets this url for ALL domains that are of the type Forwarding. This is because Plesk sets the folder for the Redirection domain in IIS to Inetpub/vhosts/forwarding.

Since all domains of the type "Forwarding" will be linked to the vhosts/forwarding folder in IIS, all domains will redirect to the same URL. This is because the web.config file in the vhosts/forwarding folder can only have 1 redirection URL.

Also, see this topic in which the exact same problem is described: http://forums.iis.net/post/1908467.aspx

I think this is a bug in Plesk, but just to be sure: does anyone here face the same problem?

Dennis
 
Actually, information about redirect is recorded in applicationhost.config instead of web.config. So even if you have two sites linked in one physical location - it will use different URLs. Perhaps you have already some web.config file in directory where pointing all redirect sites? Anyway it would be useful to see content of your applicationhost.config and content of inetpub/vhosts/forwarding directory.
 
Hi Igor,

Thanks for your explanation. I removed the web.config file in the vhosts/forwarding directory and everything is working again now. :)
 
Status
Not open for further replies.
Back
Top