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

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