Different pages related to website ip address
-
18-06-2021 - |
Question
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?
La solution
Yes. What you're looking for is apache Virtual Hosts.
You'll also need to configure your domain to point to your ip.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow