J
JHB Oosterlaar
Guest
Hi,
For a project we need to use subdomains. In the default situation one can simple use the subdomain feature that comes with Plesk to create a physical subdomain. However, we are planning to write a dynamic application that offers the same functionality to each subdomain, but in which the content depends on the subdomain used.
This has led us to the obvious conclusion that a virtual subdomain is preferable. However, I have no idea how to achieve this, since every document on this subject instructs to edit a file in the conf directory and I can not access the directory due to restricted permissions.
Is there another way to complete the wildcard DNS configuration using only the Plesk GUI? (I already have added a wildcard A DNS record.)
------------------------
To get the full idea, this is the design:
1. Visitor visits one of the virtual subdomains.
2. The visitor is internally redirected to the domain itself through the wildcard DNS configuration.
3. Based on a mod_rewrite configuration, requests to the domain are redirected to a dispatcher script that is part of our application.
4. The dispatcher script extracts the subdomain that was requested and then invokes further logic that makes decisions based on the subdomain.
-----------------------
Thanks in advance!
Kind regards,
Jeroen
For a project we need to use subdomains. In the default situation one can simple use the subdomain feature that comes with Plesk to create a physical subdomain. However, we are planning to write a dynamic application that offers the same functionality to each subdomain, but in which the content depends on the subdomain used.
This has led us to the obvious conclusion that a virtual subdomain is preferable. However, I have no idea how to achieve this, since every document on this subject instructs to edit a file in the conf directory and I can not access the directory due to restricted permissions.
Is there another way to complete the wildcard DNS configuration using only the Plesk GUI? (I already have added a wildcard A DNS record.)
------------------------
To get the full idea, this is the design:
1. Visitor visits one of the virtual subdomains.
2. The visitor is internally redirected to the domain itself through the wildcard DNS configuration.
3. Based on a mod_rewrite configuration, requests to the domain are redirected to a dispatcher script that is part of our application.
4. The dispatcher script extracts the subdomain that was requested and then invokes further logic that makes decisions based on the subdomain.
-----------------------
Thanks in advance!
Kind regards,
Jeroen