• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

DNS & Subdomain Issues

spaceout

Basic Pleskian
Here's my problem...

I have a domain.ws setup in Plesk that has just over 900 subdomains.

What I need is for domain.com to point to domain.ws and have all of the subdomains still work. So if someone enters sub.domain.com it will show sub.domain.ws on the Plesk server.

The people in charge of domain.com have created a wildcard DNS entry and pointed *.domain.com to the IP address for domain.ws. However, the subdomains for the domain.ws site aren't showing up. They are just going to the main domain.ws home page.

lol...I hope that makes sense. Any ideas?
 
I wonder if mod_rewrite would work for this.... although I'm not an expert.

In .htaccess, something like:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ([^.]+)\.example.com [NC]
RewriteRule [url]http://%1.example.ws[/url]
Sorry I have little experience with this type of rewrite. I don't even know if you can rewrite to another domain....
 
Back
Top