Virtual Hosts Problems...
Posted by: Pkmasterpwnz (---.dr02.ckvl.tn.frontiernet.net)
Date: July 24, 2012 07:39PM

im trying to host multiple websites on my WAMP Server, I have the two folders and everything and I have uncommented the include vhosts file on the httpd.conf file.. i type in the virtual host code and save it and then my webserver wont start.. it will start up in yellow.. but it wont turn green it also wont go online... this is my code

<VirtualHost *:80>
ServerName www.madnessentertainment.na.tl
ServerAlias madnessentertainment.na.tl domain
DocumentRoot C:/wamp/www/madness entertainment
ErrorLog "C:/wamp/www/madness entertainment/logs/error.log"
CustomLog "C:/wamp/www/madness entertainment/logs/access.log" common
</VirtualHost>

did i do something wrong.. my port is open... port *80 i dont understand why my wamp wont go online after i enter this code because it goes online just fine when i delete the code and save the file.... but it starts messing up when I retype in the code and save the vhosts file...!?

Options: ReplyQuote
Re: Virtual Hosts Problems...
Posted by: stevenmartin99 (Moderator)
Date: July 24, 2012 07:48PM

DocumentRoot C:/wamp/www/madness entertainment


this is not valid, it needs quotes if your putting a space in the name

DocumentRoot "C:/wamp/www/madness entertainment"



also the logs folder must exist or else apache wont start

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Virtual Hosts Problems...
Posted by: Pkmasterpwnz (---.dr02.ckvl.tn.frontiernet.net)
Date: July 24, 2012 09:40PM

thanks sooo much that fixed my problem!! there is one more thing i need help with i have created a second site with wamp and i want to know how i can access a second website from localhost i have already created the virtual host and everything.. how do i get to it on localhost the name of the folder in which the site is stored in is minecraft1 but when i type localhost/minecraft1 it says this url doesnt exist!?



Edited 1 time(s). Last edit at 07/24/2012 09:42PM by Pkmasterpwnz.

Options: ReplyQuote
Re: Virtual Hosts Problems...
Posted by: stevenmartin99 (Moderator)
Date: July 24, 2012 10:27PM

please give me some more details... what you said should work if the site is in the www folder..

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Virtual Hosts Problems...
Posted by: Pkmasterpwnz (---.dr02.ckvl.tn.frontiernet.net)
Date: July 24, 2012 10:51PM

the site is in the www folder thats what im not getting, i have set up everything.. do you have a skype maybe we can remote desktop with crossloop.. and you can help because im not getting this either....


Skype Name: Pkmasterpwnz



Edited 1 time(s). Last edit at 07/24/2012 10:55PM by Pkmasterpwnz.

Options: ReplyQuote


Sorry, only registered users may post in this forum.