problems hosting multiple websites on one server

  • wings00192
  • Born
  • Born
  • wings00192
  • Posts: 1

Post 3+ Months Ago

Im new to this site, I came across it through google, so sorry in advance if I posted in the wrong section. Anyway, I started off hosting one site from my server, everything was going great. I decided I wanted to host more than one site on my server so I followed apaches instructions and added the code to my config file for virtual servers (posted what i added below). After adding the code I try to visit my websites and I get the same page of an index of both of the folders that I added. I was just wondering if anybody could help me fix this, maybe spot something wrong I've done. I posted the codes of what I changed in the config file below. I also put the config file on my websites if you need to see more...

Site 1- http://prestigecuts.com/

Site 2- http://steve1234.thruhere.net/

Codes I've added-

<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/WWW/">

#<VirtualHost *:80>
# ServerAdmin wings00192@gmail.com
# DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/WWW/prestige"
# ServerName prestigecuts.com
# ServerAlias http://www.dummy-host.prestigecuts.com
# ErrorLog "logs/dummy-host.prestigecuts.com-error.log"
# CustomLog "logs/dummy-host.prestigecuts.com-access.log" common
#</VirtualHost>

#<VirtualHost *:80>
# ServerAdmin wings00192@gmail.com
# DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/WWW/matt"
# ServerName steve1234.thruhere.net/
# ErrorLog "logs/dummy-host2.prestigecuts.com-error.log"
# CustomLog "logs/dummy-host2.prestigecuts.com-access.log" common
#</VirtualHost>
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

The hash signs before the code you posted are comments, so none of them are taking effect. Try removing the hash signs and see what happens. Also you will probably have to restart apache for the config to reload and your changes to take effect.
  • VEXXHOST
  • Born
  • Born
  • VEXXHOST
  • Posts: 1

Post 3+ Months Ago

Suggest you have a control panel, this will make it much easier for you to host multiple domains.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 5 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.