• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Domain Aliases for Subdomains

A

autolycus@

Guest
Hi,

I am in the process of migrating various websites from individual cPanel-based shared hosting accounts to a Plesk environment.

We have the following setup on the existing system, which was very easy to create using cPanel. But I am struggling to work out how to do this with Plesk.

Basically I need to create a subdomain and then give it an alias.

In other words, I need to create the following behaviour on the Plesk system.

We have two domains - lets call them domain1.com and domain2.co.uk.

Within domain1.com we have a subdomain called sub.domain1.com.

If someone puts sub.domain1.com into their browser, they see the contents of domain1.com/sub.

That is the first thing I need to know how to achieve in Plesk please - i.e. for sub.domain1.com to automatically route to www.domain1.com/sub.

Our existing configuration also means that if someone goes to www.domain2.co.uk then they get redirected to sub.domain1.com. At all times, the address www.domain2.co.uk is what's shown in the browser bar.

Anyone know how to do this on Plesk please?

Thanks in advance,
Dave.
 
Back
Top