sub domains ?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

sub domains ?

Postby ivan » 19. August 2003 00:35

can this be done ?
ivan
 

Re: sub domains ?

Postby Loic » 20. August 2003 21:49

ivan wrote:can this be done ?


Yes with Virtual host in http.conf (apache)
Loic
 

Related question (not your normal vhost)

Postby MAGnUm » 06. September 2003 22:12

yeh i have tried this before and cant get it to work with my setup... apache starts fine, but sub domains dont work. i use name based vhost on a dns name i get from servehttp.com so i am basically already on a subdomain. but if you read the docs a subdomain should alow for another subdomain below it. like my url is somesite.servehttp.com and i want mail.somesite.servehttp.com it should work, but it points to the wrong ip. any ideas? also i run a mail server on my server, and it runs on port 8080 its a self contained webmail server is it posible to use name based vhosting like mail.somesite.servehttp.com to point to somesite.servehttp.com:8080 ? :?: i have looked but don't think its possible :mrgreen:
MAGnUm
 

Re: Related question (not your normal vhost)

Postby Apache-User » 06. September 2003 22:51

MAGnUm wrote:yeh i have tried this before and cant get it to work with my setup... apache starts fine, but sub domains dont work. i use name based vhost on a dns name i get from servehttp.com so i am basically already on a subdomain. but if you read the docs a subdomain should alow for another subdomain below it. like my url is somesite.servehttp.com and i want mail.somesite.servehttp.com it should work, but it points to the wrong ip. any ideas? also i run a mail server on my server, and it runs on port 8080 its a self contained webmail server is it posible to use name based vhosting like mail.somesite.servehttp.com to point to somesite.servehttp.com:8080 ? :?: i have looked but don't think its possible :mrgreen:


ok lets try this..
first of all u need wildcards enebled so that mail.somesite.servehttp.com works.... if ur provider does not allow that u shold switch to http://www.no-ip.com
geting apache to pint to port 8080 is easy just use the buildin proxy for that here an example

NameVirtualHost mail.somesite.servehttp.com:80

<VirtualHost mail.somesite.servehttp.comt:80>

ServerName mail.somesite.servehttp.com
ServerAlias mail.somesite.servehttp.com
ServerAdmin admin@domain.de

DocumentRoot /blabla/htdocs
CustomLog /blabla/log/access.log combined
ErrorLog /blabla/log/error.log

ProxyPass / http://mail.somesite.servehttp.com:8080/
ProxyPassReverse / http://mail.somesite.servehttp.com:8080/

</VirtualHost>

that should to it

greetz form germany
mfg
D.A.U.™
User avatar
Apache-User
 
Posts: 594
Joined: 30. December 2002 16:50
Location: anonym

will try it and let you know

Postby MAGnUm » 09. September 2003 18:19

will try it and let you know thanks in advance
MAGnUm
 

why do i still need this

Postby MAGnUm » 25. October 2003 00:44

Why is this stuff still needed if its just going to use the builtin proxy?

DocumentRoot /blabla/htdocs
CustomLog /blabla/log/access.log combined
ErrorLog /blabla/log/error.log
~~:M A G n U m:~~
(Disclaimer: if any of this info is confusing or vague tough, its free!!)
User avatar
MAGnUm
 
Posts: 151
Joined: 16. October 2003 18:08
Location: USA

help

Postby MAGnUm » 11. November 2003 19:19

when i tried the example all it did was go to the document root i put in the vhost it didn't do the redirection like it should. any ideas?

here is more information

my mail server has a web interface of its own not related to apache. i would like to redirect to it via mail.myhost.servehttp.com but to get to the the mail server via the internet you must go to https://myhost.servehttp.com:23001. i realize it would be just as easy to make a regular vhost and put a script to redirect, but i want this to work.
~~:M A G n U m:~~
(Disclaimer: if any of this info is confusing or vague tough, its free!!)
User avatar
MAGnUm
 
Posts: 151
Joined: 16. October 2003 18:08
Location: USA


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 73 guests