Answer the question
In order to leave comments, you need to log in
HOW to set 2 ip to a webserver?
Hello. there is a web server on apache. at the enterprise 2 providers with pools of white ip are brought. we want to put 2 white ips on the web server, so that if one provider fails, users go through another. what needs to be done for this, what to register on the dns server. As they say: direct in the right direction.
Answer the question
In order to leave comments, you need to log in
an A record with a second ip is added to the dns, and in apache
ServerAlias 192.168.1.1 192.168.1.2ip ip substitute yours, well, you need to do port forwarding for the second ip to the server
<VirtualHost *:80>
if you need all ips
well or like this
<VirtualHost 192.168.1.1 172.20.30.40>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question