I have a nextcloud instance hosted on a local server I keep in my apartment closet.
I originally set it up to be accessed by the domain cloud.jackalope.tech
This is fine and i would like to keep this, but I have recently made myself a new professional website at https://aslanfrench.work. I have a live folder for my resumes at https://cloud.jackalope.tech/s/resumes that I would like to be able to link and appear to the user as coming from https://cloud.aslanfrench.work/s/resumes
I have already routed my DNS to point cloud.aslanfrench.work to my home server IP address. And I have already edited the Nextcloud instance’s config.php file to include:
‘trusted_domains’ =>
array (
0 => localhost,
1 => ‘cloud.jackalope.tech’,
2 => 'cloud.aslanfrench.work’,
),
And I’ve also copied the cloud.jackalope.tech file in nginx/sites-available and nginx/sites-enabled over and changed out the references to cloud.jackalope.tech to cloud.aslanfrench.work, but neither works.
When I go to cloud.aslanfrench.work it goes the proper website but the url in the browser displays cloud.jackalope.tech and I don’t want it to do that because I want to create as consistent a branding between the website, the resumes, and the server folder where my live resumes are held.
Also will doing this mean I have to add a second SSL cert?