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?
Solution
Yes. What you're looking for is apache Virtual Hosts.
You'll also need to configure your domain to point to your ip.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow