Problems with the Linux version of XAMPP, questions, comments, and anything related.
I want to host 2 domains on my vps. IP address should not load any page if someone try to open my website thru IP address. I dont want to show a 404 or access denied page.
I want to show it like this.
I have no idea how to do this, because I'm new to this subject. I highly appreciate your help.
Thanks for reading.
- Posts: 1
- Joined: 12. September 2014 18:00
- Operating System: Ubuntu 14.04 64BIT
You have to create different VirtualHosts and for plain IP assign the behaviour you like. Google for "VirtualHost" and/or read the Apache documentation about VirtualHost.
- Posts: 9178
- Joined: 09. March 2008 13:04
Return to XAMPP for Linux
Who is online
Users browsing this forum: No registered users and 3 guests