• 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.

subdomain setup

subdomains

I am in process of changing server hosts ... the current server host is RHEL running Ensim control panel, and my new server is RHEL running Plesk. On my current server, my subdomains are accessible via http://domain/subdomain as long as I do not have folder subdomain in docroot folder. I am not sure if this was special setup they assisted in, but now all my links to a very large website are coded that way, and it will be a lot of work to find and replace them all.
I am hoping to set that up on new server as well.
Thanks for quick reply,
Jesse
 
Hello,


I know how to do this, if you have not finished this yet let me know.


Feel free to contact me for issues and contracts at [email protected]

Thanks,
Bandurao.
System Administrator.
 
Subdomain Help

Yes, I have not set this up yet and would like any help you could provide.
Do you want me to contact you directly, or will you just post here ??
Thanks again,
Jesse
 
Path2U - You can do this in the domain's vhost.conf file:

Code:
Alias   /plesksub   /home/httpd/vhosts/example.com/subdomains/plesksub/httpdocs
On newer fresh Plesk installs, the domain's root may be /var/www/vhosts/...

Then make sure you have your site files in the httpdocs directory and you should be good to go.

Notes: By default, Plesk does not automatically create the vhost.conf file, so you may have to create it. Then run the following command:

/usr/local/psa/admin/bin/websrvmng -u --vhost-name=example.com

Then restart apache manually.

This also assumes you create your subdomains using the Plesk GUI, not a 3rd party utility such as 4PSA's utilities (which stores subdomains in a different location.
 
subdomains

I have created all my subdomains with the Plesk control panel and they are in the default ... /var/www/vhosts/domain.com/subdomains/subdomain/httpdocs
If I understand correctly ... I run this command:
/usr/local/psa/admin/bin/websrvmng -u --vhost-name=example.com
to generate a vhost.conf file if it does not already exist.
Then I add the following line to the vhost.conf:
Alias /plesksub /home/httpd/vhosts/example.com/subdomains/plesksub/httpdocs
Just making sure I understand, as I am not yet very familiar with Plesk or these setup procedures.
Thanks a ton,
Jesse
 
Other way around. First you must create the file and put the Alias statement into it, then run the websrvmng command which will integrate the changes in the vhost.conf file into the domain's apache config files. Then restart Apache service.
 
Can I have your chat ID so that I can tell you how to do this, live.
 
Back
Top