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

9.3 Domain Alias Stopped Working

elpatron

New Pleskian
We use domain alias to run 10 domains using ccTLD.

I've been trying to add additional domain alias's but the website http host is being set to the main domain that it is aliased to.

for example:

http://fr.etiendas.co works perfectly fine. This was added in May.

but when I add:

http://mx,etiendas.co

the webisite receives the host name of the primary domain (domain it was aliased to) no mx.

I put trap code to display the http host, for .fr it's what is expected, fr.url.co but for mx.url.co it has the primary domain name.

I checked the vhost.conf it has the proper serveralias defs for mx...

The dns for the mx. looks exactly like the .fr except for the names...

I'm at a total loss now...spent many many hours playing with it to no avail. What really strange is that one can use mx.etiendas.co/info.php and get the phpinfo...this made me think there was something with my .htaccess file...I looked at the file...but it never does anything with the host name...I attached the httacess..

...this is my last gasp before moving to another vps and using cpanel (I don't want to!)

Kind regards,

Fred
 

Attachments

  • htaccess.txt
    7.3 KB · Views: 1
Last edited:
Back
Top