Hi everyone. I have a server running nextcloud. I want to host another site on the same server. Server with apache2. I made all the settings, but at the address newdomain.com the page “Access through an untrusted domain” comes out, and if I add a domain to a trusted one, then the page of my nextcloud comes out. Tell me where else to dig?)
Hi @reply_to_or_last_poster_username welcome to the community of Nextcloud
You started a topic in support category. Unfortunately you ignored the template and a lot of information to help you is missing. Please edit your original post and add all required details like Nextcloud version, webserver type and version, os version, related log file content. Use the support template.
Without additional information the community members cannot help you.
I you case apache config would be the most important addition
Regards,
wwe
Post details. You need a virtual apache2 host mapped to another subdirectory than Nextcloud. Search the internet for set up virtual hosts with apache2.
I have configured apache2 virtual hosts, when I switch to nextcloud host everything is from personally, and when I switch to another host, the “Access through an untrusted domain” page appears. If I add my domain to the configuration file, the nextcloud page is displayed.
Cool, but maybe the second VirtualHost isn’t configured properly, or maybe not enabled? Hard to say with absolutely no information from your side.