Apache2 Reverse Proxy Help
Go to solution
Solved by Eigenvektor,
ServerName domain1.club ServerName cloud.domain2.zone
I assume both of the domain names you use already resolve to the server's external IP? Do you see anything in the server's access or error logs when you try to access the second domain?
QuoteIn the HTTP site I navigated to /etc/apache2/sites-enabled and edited 000-default.conf
I would recommend to use two files, one for each virtual host. This is easier to maintain than a single file that contains the configuration of all hosts. I would also recommend to use HTTPS for stuff like Nextcloud, otherwise you're transmitting credentials in the clear.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now