I have 2 domains setup with dyndns.org. Current to domian 1 is going to port
8080 and domain2 is going to port 8081. I am running a linux firewall using
ipchains. Port 8080 is fowarded to my webserver at port 80 and port 8081 is
foward as port 8081 to the webserver. My virtual hosts looks like this for my
troubled website. I sent the second domain to 8081 because i could not get the
virtual hosting to work to start with.
<VirtualHost _default_:8081 >
ServerAdmin webmaster@elitegamerz.org
DocumentRoot /var/www/html/games
ServerName web.elitegamez.org:8081
<Directory /var/www/html/games>
Options Indexes
Allow From All
</Directory>
</VirtualHost>
<VirtualHost mail.elitegamerz.org >
ServerAdmin webmaster@elitegamerz.org
DocumentRoot /var/www/html/tn
ServerName mail.elitegamez.org
<Directory /var/www/html/tn>
Options Indexes
Allow From All
</Directory>
</VirtualHost>
Now if i got to any address on port 8081 i get the _default profile. If i got
to mail.elitegamerz.org I get the default profile. If I remove the _default i
get my server deafult for every site i try to hit on mer server no matter what
port. Is it possible to do what i want to do? I want all the sites working on
1 port and be able to virtual something.domain.com. Can any one aid with some
advice?
Thanks
Scott
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
8080 and domain2 is going to port 8081. I am running a linux firewall using
ipchains. Port 8080 is fowarded to my webserver at port 80 and port 8081 is
foward as port 8081 to the webserver. My virtual hosts looks like this for my
troubled website. I sent the second domain to 8081 because i could not get the
virtual hosting to work to start with.
<VirtualHost _default_:8081 >
ServerAdmin webmaster@elitegamerz.org
DocumentRoot /var/www/html/games
ServerName web.elitegamez.org:8081
<Directory /var/www/html/games>
Options Indexes
Allow From All
</Directory>
</VirtualHost>
<VirtualHost mail.elitegamerz.org >
ServerAdmin webmaster@elitegamerz.org
DocumentRoot /var/www/html/tn
ServerName mail.elitegamez.org
<Directory /var/www/html/tn>
Options Indexes
Allow From All
</Directory>
</VirtualHost>
Now if i got to any address on port 8081 i get the _default profile. If i got
to mail.elitegamerz.org I get the default profile. If I remove the _default i
get my server deafult for every site i try to hit on mer server no matter what
port. Is it possible to do what i want to do? I want all the sites working on
1 port and be able to virtual something.domain.com. Can any one aid with some
advice?
Thanks
Scott
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org