• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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