I have two different domains I want to use for this website, how can I configure the virtual host to make this work?
Is it possible to assign it more than one server name?
I have two different domains I want to use for this website, how can I configure the virtual host to make this work?
Is it possible to assign it more than one server name?
Yes. Use the ServerAlias
directive alongside the ServerName
directive.
ServerAlias
lines. –
Anatole © 2022 - 2024 — McMap. All rights reserved.