• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

creating virtual directories

IanHill

New Pleskian
Hi new plesk user using 11.0.9

I am trying to add some virtual directory entries or our sites. However I can not find the Virtual Directories section.
Looking at web posts it looks like it should be in the Websites and Domains section in the Advanced settings block. But it is not there.
I have looked all over the Plesk and can't seem to find it anywhere.

Anyone know where it is hidden?
Or if it is missing, how to add in virtual directories.

Cheers
Ian at Emerald.
 
Considering they are an Apache/Linux item aka Alias in the conf, I'm surprised they are classed as Windows only.
So, how do I add aliases into the conf file then in Plesk?

Having looked at the help and hints and googled on it the process apears to be:
A) create a vhost.conf in the conf folder as the main httpd.conf is maintaiend by plesk. Any changes are cleared out after any update.
----
How do I do this - the folder is locked to Root access and permissions are denied in File manager?
Do I need to 'sudo' on the server and manually create it/change owner etc etc. I.e the kind of linux keyhole surgery Plesk is supposed to help you avoid. (And thats assuming you are allowed access to the server itself ....)
---
Also, will it also disapear every plesk update as well?

B) Add in the alias/conf settings etc.

C) Restart the server and config it to use the vhosts.conf file
--
Information here was a bit unclear. Run what? Where?
--
Once again will I need to redo this every Plesk update?

Is that right, or is there another way to do this in Plesk itself?
 
A) create a vhost.conf in the conf folder as the main httpd.conf is maintaiend by plesk. Any changes are cleared out after any update.
----
How do I do this - the folder is locked to Root access and permissions are denied in File manager?
Do I need to 'sudo' on the server and manually create it/change owner etc etc. I.e the kind of linux keyhole surgery Plesk is supposed to help you avoid. (And thats assuming you are allowed access to the server itself ....)

Yes, you would need SSH access and sudo/root to edit vhost.conf file.

I think Aliases should also be available via .htaccess files, which you can create from File Manager or upload by FTP. You wouldn't need to perform any extra action once created, they should work immediately.

Also, will it also disapear every plesk update as well?
No, vhost,conf is your file, not autogenerated by Plesk. It WONT disappear.

C) Restart the server and config it to use the vhosts.conf file
--
Information here was a bit unclear. Run what? Where?

If you have SSH access, restarting web server is done by something like 'service httpd restart' (this is for Redhat / CentOS, other OSes may have it slightly different)
If you have only web access, just go into Tools & Settings > Services Management and find "Web Server" row.

In the next version (Plesk 11.5) we will have Apache configuration in UI, so you won't need to edit files via SSH in cases like that. Plesk 11.5 is in Preview stage currently.

[+] Per-website configuration of the Apache web server. Customers can set a number of Apache settings (MIME types, handlers, access restrictions, and index files) for a certain website. Administrators can also set any Apache directives for a certain website in the customer's Control Panel. Learn more.
 
Last edited:
Back
Top