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

J

JustinK101

Guest
I used to be using Cpanel and there was an option to redirect a custom subdomain to a fully qualified web address.

For example:

mysubdomain.mydomain.com points to http://google.com.

How do I do this in Plesk?
 
I want to know how to get redirect working as well. Please help!
 
There should be an option on your menu.

1. Click on Domains (if you're admin)
2. Click on the Domain you want to add a sub-domain to.
3. Under "Hosting", there should be an icon that says "Subdomains".

If not, chances are that your host does not allow them or that they are an additional feature that you have to request from them.

4. If you are able to create a subdomain, Plesk will create a directory with that name in your subdomains folder (ie. google.yourdomain.com will create a directory called google)

5. In the directory that it creates (subdomains/<subdomain name>/httpdocs), you can put a redirect.

For example, edit the index.html file of that directory to read something like:

Code:
<META HTTP-EQUIV="refresh" content="0;URL=http://domain.to.redirect.to">
 
Yeah I know how to do an HTML redirect, but I want to do a dns redirect.

I know Cpanel can do it, so there is a way. I think it involves a ptr record or cname, I will investigate and get back.
 
You'd forward it with the IP using a CNAME in the DNS, but then you would have to have apache on the other server point it in the right direction.

The way CPANEL does it is that it creates a directory then puts an htaccess file in that directory that forwards it to the correct domain, link, etc.
 
Yeah I did it manually through IIS manager. I selected the domain, went into properties and then changed it to a redirect. Sometimes plesk makes me angry, so you gotta do things yourself.
 
Back
Top