• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

mod_rewrite settings for multiple domains on one ip

B

billybob

Guest
Hi. I have a plesk 7.5 installation on a linux server and I have added several domains to the main account. I have been told by support I need to modify mod_rewrite to get incorrectly typed domain names to resolve properly.

Now when I type an incorrect url for domain 2, such as:

ww.domain2.com

it resolves to www.domain1.com instead of www.domain2.com

also, if i type www.test.domain2.com

it resolves to www.domain1.com instead of www.domain2.com

incorrect urls for domain1 resolve properly, it is just the other ones. Has anyone encountered this or have a solution.

Thank you for your time.
 
Back
Top