• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Sub-domain confusion

Sysop

Basic Pleskian
I'm confused how to accomplish the following:

maindomain.com (already setup)
|
sub.maindomain.com ( what to make this? alias? sub-domain? how should nameservers be setup? slave dns? etc. )
|
|____ otherdomain.com/sub (already setup)

It's unclear to me how to setup a sub domain of (maindomain) to point to (otherdomain/path). I would think an alias would be the way to do it, but the problem I'm having is how exactly should the subdomain be setup in the first place. I don't really need hosting or anything like that, just the subdomain name to point to otherdomain/path.

Thank you.
 
Hi Sysop,

the correct way would be to setup "sub.maindomain.com" as an ALIAS at "otherdomain.com", not at "maindomain.com". ;)

After your ALIAS - creation, you would then change the "hosting settings" at "sub.maindomain.com" to the desired document root: /var/www/vhosts/otherdomain.com/httpdocs/sub
 
Back
Top