• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How to link domain/subudomain to a spcecific path

B

Bouquet

Guest
Hello,

I would like to link several domain/subdomain name to a sepcific path on the hard drive. In my old configuration i do this modification in the virtual host file.
But here how could i do that without breaking plesk?


eg: toto.absolum.com, titi.absolum.com, www.azerty.com ... would be link on the hard drive with the folder
/var/www/absolum.com/httpdoc/

Thanks in advance for your quick answers.

Philippe Bouquet
 
There may be a few ways to do this, but i would suggest setting up one site with physical hosting, then setting up the other sites with forwarding to the primary site.

edit: from the domain creation wizard in plesk:

Information: To host a web site on this machine, select the Physical hosting option. Upon completion of this procedure, your control panel will set up the domain name server on this machine to serve the new domain name and prepare the web server to serve the new web site: a new zone file with appropriate resource records will be added to the domain name server's configuration files, a web space will be created inside the web server's directory, and necessary user accounts will be created on the server.
Note: If the site is hosted on another machine, and you wish to set up your control panel's DNS server only to serve the DNS zone for that site, select either Frame forwarding or Standard forwarding option. With standard forwarding, a user is redirected to the site and the actual site's URL is shown in the user's browser, so the user always knows that he or she is redirected to another URL. With frame forwarding, a user is redirected to the site without knowing that the site actually resides at another location.
 
Back
Top