ROCKINDANO Posted January 26, 2010 Share Posted January 26, 2010 Hello, I am trying to set up two virtual hosts in my apache server, but having trouble. i have read the apache website and its little to confusing. this is what i am trying to do. I want to set it up in my local machine before putting it in my webserver and running the risk of bringing my web down. so this is what i have: # Use name-based virtual hosting. NameVirtualHost *:80 <VirtualHost *> ServerName Daniel_web.CityofEdinburg.local ServerAlias cityofedinburg.local *.cityofedinburg.local DocumentRoot "E:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Edinburg site" </VirtualHost> <VirtualHost *> ServerName Daniel_web.CityofEdinburg.local ServerAlias cityweb1.local *.cityweb1.local DocumentRoot "G:/cityweb1" </VirtualHost> can someone help me here? Quote Link to comment https://forums.phpfreaks.com/topic/189878-help-setting-up-virtual-host-in-my-apache-server/ Share on other sites More sharing options...
trq Posted January 27, 2010 Share Posted January 27, 2010 What is the problem exactly? those are pretty much minimal configurations and should be working fine. Quote Link to comment https://forums.phpfreaks.com/topic/189878-help-setting-up-virtual-host-in-my-apache-server/#findComment-1002263 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.