• 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

Question How to make 2 Domains for 1 Site (No redirect).

iGraphics

Basic Pleskian
Hello,
How to use 2 Domain for 1 Site (No redirect).
for example:

site1.com
site2.com


All of these 2 domain work for ONE site without redirect but the files and database inside (site1.com) only.

and when using site2.com the title for any pages it's same when using site1.com

Thanks
;)
 
For example:

example.com (Old Domain) and the files inside it.
example.net (New Domain) and no files inside it.

I want: when I go to example.net/admin no redirect to example.com/admin , Should be still example.net/admin and everything work fine.

How to do that.
 
Please be aware that it's a bad idea to have the same content available on two or more different domains/URLs. Search engines will rank you significantly lower.
It's best practice to have only one URL for your content.

But regarding your issue:
First, check the Hosting Settings for your alias domain. Make sure that the option "Redirect with the HTTP 301 code" is not active.
Next, if you are using a CMS such as WordPress: Most CMS will redirect all requests to the configured URL of the website. So check your CMS configuration and make sure you have the URL of your alias domain in there.
Note: You can't have multiple domains in Wordpress by default. You'd need to install a plugin such as "Multiple Domain" in order to achieve that.
 
Back
Top