Virtual host - Part 2: "www.mysite.com" to special folder in your localTag: dns, virtual host Category: Apache, Hostingpost: 09 Oct 2007 read: 2,378 Virtual Host Tutorial:You have known how to make www.mysite.com in your local computer (you can read this article at here). Now, I will show to you how to link www.mysite.com to special folder in your local web server folder. I mean, if you access www.mysite.com, automatically access folder mysite (for example) in your root folder. Follow this step:1. Open your httpd.conf (may be below Apache2\conf). 2. add following code at end of text:
3. Restart your apache
Wow, now you can have your own virtual host!
| ||
| | Give Your Opinion | Recommend |
|


