• 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 Configure to load content of https://domain1.com on https://about.domain2.com

EckyPtang

New Pleskian
Hello,

I'm trying to setup a configuration where https://domain1.com is shown when going to https://about.domain2.com

The browser url should remain about.domain2.com (so no redirect)


First thing I did was create a CNAME record for 'about' that points to domain1.com - this works, but it shows just the PLESK default page of my server.

How do I inform the webserver to accept about.domain2.com and serve the content?


I've tried adding a 'server_name' value in the nginx.conf of the domain1.com website, but it says that plesk will override it anyway.

So in Plesk on the account for domain1.com, going to NGINX & apache settings, it shows that nginx proxies requests to apache.

There are fields for apache:
Additional directives for HTTP
Additional directives for HTTPS

And fields for NGINX:
Additional nginx directives


What do I need to add here in order for it to load the content of https://domain1.com on that external subdomain (https://about.domain2.com) ?


Thanks
 
Back
Top