How can I get WAMP, VIRTUAL HOSTS, Websites in MULTIPLE PARTITIONS & NO-IP working?
Posted by:
freespirit
(---.115.62.141.plusnet.pcl-ag01.dyn.plus.net)
Date: July 06, 2013 03:40PM
I cannot get this to work!!!:-(
FRESH INSTALL OF LATEST WAMP VERSION 2.4
WINDOWS 7 HOME PREMIUM
I want to know how to serve several websites with each one on a different partition of the harddrive and for them to be accessible to the public using no-ip host direct service! I have looked at so many guides, video tutorials, created Aliases, virtual hosts, configured Options Indexes FollowSymLinks directives and I still can't get this *** thing to work!
There is no step by step guide and so many people have different requirements and so many people offer different solutions. And so many people it works for and so many people it doesn't! I am lost in a pool of so much information with very little to go on. I'm not a techie but I'm not a newbie at reading or trying to understand either. I can do some but cannot seem to find where I'm going wrong. I don't want to be referred to more long winded websites, guides or manuals. I would like an easy step by step guide from fresh install to full config of Wampserver to host multiple sites that can be viewed by the public or show me where I'm going wrong in this. Can anyone who knows what to do, speak intelligibly but simply and show me where i'm going wrong? and answer these questions?
DocumentRoot "M:/siteA"
- Does Document root mean, path AND folder of website pages?
ServerName siteA
- Does Servername mean Name of PHYSICAL Computer with websites in it or the folder name with the web pages are in?
<Directory "M:/siteA">
- is this just M:/ ? as in just the partition letter assigned or do I add the folder name as well..
and this bit
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
does it allow the public to see my websites? ... Does it go in http.conf or vhost.conf?
-----------------------------------
THIS IS MY SETUP:-(
-----------------------------------
Status: FRESH WAMP install W:/wamp, and W:/wamp/www
No Aliases created.
Wamp light stays on orange
--------------------------
This is my etc/host file
--------------------------
127.0.0.1 localhost
::1 localhost
127.0.0.1 siteA.idontknow.com
127.0.0.1 siteB.whatthehellimdoing.com
127.0.0.1 sitec.hopeisagoodthing.com
-------------------------------------------------
This is my http.conf file
-------------------------------------------------
Listen *:80 instead of Listen 80
Include conf/extra/httpd-vhosts.conf uncommented
------------------------------------------------
This is my httpd-vhosts file
------------------------------------------------
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot "w:/wamp/www"
ServerName localhost
ServerAlias www.localhost.com
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "M:/siteA"
ServerName siteA.idontknow.com
<Directory "M:/siteA">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "I:/siteB"
ServerName siteB.whatthehellimdoing.com
<Directory "I:/siteB">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "S:/siteC"
ServerName siteC.hopeisagoodthing.com
<Directory "S:/siteC">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
-----------------------------------------------------
RESULT
No Wamp page, no local host..
So, Ive uninstalled and started again..
Currently, re-installed WAMP, back to square one for fresh start if anyone can help guide me through. WAMP Green, Localhost page running!