Different pages related to website ip address
-
18-06-2021 - |
Pergunta
My website is assigned a particular ip address. Now, is there any way to configure web server like apache so that when I enter the website url in a browser, it shows a different page than when I enter the ip address related to the website?
Solução
Yes. What you're looking for is apache Virtual Hosts.
You'll also need to configure your domain to point to your ip.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow