Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Only one subdomain to a virtual host

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Submitting any website form always comes from sam..  
Author Message
user2408

External


Since: Aug 03, 2003
Posts: 9



(Msg. 1) Posted: Mon Aug 18, 2003 7:27 pm
Post subject: Only one subdomain to a virtual host
Archived from groups: alt>apache>configuration (more info?)

Hello,
I've a virtual hosting

ServerName example.com
ServerAlias *.example.com

This is the first virtual hosting, therefor the standard one.
But I want to introduce another virtual hosting on a subdomain from
example.com, but I still want to keep this v-host as the standard.
How can I do that?
Thx,
Florian

--
Abkürzung unbekannt?
++ http://www.xgm.de +++

 >> Stay informed about: Only one subdomain to a virtual host 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Mon Aug 18, 2003 7:27 pm
Post subject: Re: Only one subdomain to a virtual host [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Florian Lindner <Florian.Lindner.DeleteThis@xgm.de> wrote:
 > ServerName example.com
 > ServerAlias *.example.com

 > How can I do that?

In the <VirtualHost > directive add _default_, remove the *.example.com
as Alias (otherwise it will catch everything) and add another <VirtualHost>
directive _without_ the _default_ option.

See the documentation on <a style='text-decoration: underline;' href="http://www.apache.org" target="_blank">www.apache.org</a>

Davide<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Only one subdomain to a virtual host 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Virtual host - Redhat 9.0 [root@linux bin]# ./apachectl start [Sun Aug 17 11:53:43 2003] [warn] module mod_php4.c is already added, skipping [Sun Aug 17 11:53:43 2003] [warn] module php4_module is already loaded, skipping [Sun Aug 17 11:53:43 2003] [warn] VirtualHost....

Virtual Host From PS? - Ok.. so I am running a server with a bunch of virtual hosts.. Someone on one of them is running a PHP script or CGI thats causing problems and im getting huge load spikes and sometimes even crashing the entire server requiring a hard reboot to fix it.. ...

automatic Virtual Host - Hello, on my dedicaced server, I would like that : the domain multinetworks.net is accessible in /home/multinetworks.net and that all sub-domaines are also accesible : I mean : When someone type : http://www.CrazyNetwork.net/ it take the files in : ..

Virtual Host - Bad Request - ==> One IP, may hostnames. (name based virtual host) When I set the IP address of the virtual hosts explicitly they work fine: -------part of conf file-------- NameVirtualHost 65.94.21.150 <VirtualHost 65.94.21.150> ServerAdmin webmaster@ha...

IP/Hostname Virtual Host - Hello, Is there a way I can create a virtual host based on a DYNAMIC IP and hostname? In other words, I want to redirect people who connect to my site with my IP address (e.g. http://62.252.64.3) or its hostname (e.g. http://a553e3.25sv543ca.myisp.com)....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]