How to create specific virtual hosts?
Posted: 07. January 2009 12:03
Hi all.
Please suggest me how to create specific virtual local hosts with specific address(for example www.spriteork.com) and specific folder for site(for example D:\site)
As I read Apache manual, i must edit
....\xampp\apache\conf\extra\httpd-vhosts.conf
I'm edit it, adding there all as wrote in manual, creating host folder, writing test file index.php with some php code, saving it in that folder. When trying to open virtual host in browser, but nothing happen, browser writes error "site not found"
Advance thanks for help
Please suggest me how to create specific virtual local hosts with specific address(for example www.spriteork.com) and specific folder for site(for example D:\site)
As I read Apache manual, i must edit
....\xampp\apache\conf\extra\httpd-vhosts.conf
I'm edit it, adding there all as wrote in manual, creating host folder, writing test file index.php with some php code, saving it in that folder. When trying to open virtual host in browser, but nothing happen, browser writes error "site not found"
Advance thanks for help