D
D
dfhusfhgsuo32018-09-02 14:40:39
Apache HTTP Server
dfhusfhgsuo3, 2018-09-02 14:40:39

What is the correct way to use ServerAlias?

Hello.
Help please, I did not find information on this topic.
What is the correct way to use ServerAlias? (what would show the same content when requesting different domains without redirecting)
Point the domains to the IP of the server (as well as the main domain) and simply write like this: ServerAlias ​​www.site1.com www.site2.com site2.com www. site3.com site3.com ?
All right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
CityCat4, 2018-09-02
@CityCat4

There, in my opinion, it cannot be used "correctly" or "incorrectly". ServerAlias ​​is a simple as a piece of wood directive that assigns additional names to the site
of course, provided that the DNS is configured in such a way that all these addresses will point to the server with this directive

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question