: There are two places that you can write (you can use both of them): ServerName: is the "internal" name of the vhost. It is not necessary the full qualified domain name. Just "myvhost" could
There are two places that you can write (you can use both of them):
ServerName: is the "internal" name of the vhost. It is not necessary the full qualified domain name. Just "myvhost" could be ok. Of course you can use the full name like "myvhost.example.com".
ServerAlias: is other names. It is useful when you want multiple domain names for the same vhost.
For example: you have a website that you want to host both example.com and example.net:
ServerName example
ServerAlias example.com example.net example.com example.net
More posts by @Pierce454
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.