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?

Was it helpful?

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
scroll top