Mobile app version of vmapp.org
Login or Join
Pierce454

: 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

@Pierce454

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

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Pierce454

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme