• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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