Hi,
I have xampp install locally on my computer.
What I need to change in order, for example, then I access the http://www.something.dev to open my website located in /xampp/htdocs/pic/ .
If I access http://www.something-else.dev to open my website located in /xampp/htdocs/other/ .
All this will be open locally ( on the same computer).
Thanks
access local server
Moderator: General Moderators
Re: access local server
Even though I question the usefulness of what you are trying to accomplish here are two ways you can accomplish the task:
1. edit your hosts file, add an entry like this:
127.0.0.1 www.something.dev
2. Setup your apache configuration (httpd.conf I believe)
add a VirtualHost and setup the documentroot accordingly
1. edit your hosts file, add an entry like this:
127.0.0.1 www.something.dev
2. Setup your apache configuration (httpd.conf I believe)
add a VirtualHost and setup the documentroot accordingly