Hey Riggs
I have reverted back to an old version,at first nothing worked at all.
Parked my domains and tried an even earlier backup.
Things are working again now,not sure why or how but maybe the dns has sorted itself out?
This is my conf file as it is now..........
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:[httpd.apache.org];
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
#NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.stimulatedgaming.com
ServerAlias stimulatedgaming.com
DocumentRoot C:/wamp/www/stimulatedgaming
ErrorLog C:/wamp/www/stimulatedgaming/logs/error.log
CustomLog C:/wamp/www/stimulatedgaming/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName stimulatedgaming.com/Forum
ServerAlias Forum
DocumentRoot C:/wamp/www/stimulatedgaming/Forum
ErrorLog C:/wamp/www/logs/error.log
CustomLog C:/wamp/www/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
ErrorLog C:/wamp/www/logs/error.log
CustomLog C:/wamp/www/logs/access.log common
</VirtualHost>
Include "c:/wamp/alias/*"I need to add my other domains now before I unpark them.
Is it a case of copy/paste but change domain name for each domain?
<VirtualHost *:80>
ServerName 123.com
ServerAlias 123.com
DocumentRoot C:/wamp/www/123
ErrorLog C:/wamp/www/123/logs/error.log
CustomLog C:/wamp/www/123/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName www.abc.com
ServerAlias abc.com
DocumentRoot C:/wamp/www/abc
ErrorLog C:/wamp/www/abc/logs/error.log
CustomLog C:/wamp/www/abc/logs/access.log common
</VirtualHost>Server 123 does not need to be www apparently,I'm just going to use it's domain name to run a stats server.
Hope to run a website from it soon though.
abc domain I will make soon.
In my www folder I just need to make new domain named folders (123 and abc) and put my files inside?
______________________________________________________________________________________________________
This is what I'ver done and what I guess it should look like......
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.stimulatedgaming.com
ServerAlias stimulatedgaming.com
DocumentRoot C:/wamp/www/stimulatedgaming
ErrorLog C:/wamp/www/stimulatedgaming/logs/error.log
CustomLog C:/wamp/www/stimulatedgaming/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName stimulatedgaming.com/Forum
ServerAlias Forum
DocumentRoot C:/wamp/www/stimulatedgaming/Forum
ErrorLog C:/wamp/www/logs/error.log
CustomLog C:/wamp/www/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName www.123.com
ServerAlias 123.com
DocumentRoot C:/wamp/www/123
ErrorLog C:/wamp/www/123/logs/123_error.log
CustomLog C:/wamp/www/123/logs/123_access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName 123/Stats.com
ServerAlias 123.com
DocumentRoot C:/wamp/www/123/Stats
ErrorLog C:/wamp/www/123/Stats/logs/123-Stats_error.log
CustomLog C:/wamp/www/123/Stats/logs/123-Stats_access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName www.abc.org.uk
ServerAlias abc.org.uk
DocumentRoot C:/wamp/www/abc
ErrorLog C:/wamp/www/abc/logs/abc_error.log
CustomLog C:/wamp/www/abc/logs/abc_access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
ErrorLog C:/wamp/www/logs/error.log
CustomLog C:/wamp/www/logs/access.log common
</VirtualHost>
Include "c:/wamp/alias/*"Apparently the stats server needs to be in the 123 root folder but I'm thinking there may be a clash with some files when I put a website in there?
So I put the stats server in it's own folder inside 123 folder
Both look like this.....
wamp/www/123
wamp/www/123/stats
I'm hoping I've edited vhost right to accomplish this?
Although not sure about the alias.
Maybe there's a better way and I can put the stats files in root 123 along with the website once I've made it?
Or it cannot be done?
Edited 4 time(s). Last edit at 04/11/2015 10:32PM by sTimulated.