Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Subdomains Continued (Virtual Hosting)

 
   Web Hosting Problem Solving Community! (Home) -> Apache RSS
Related Topics:
apache on xammp problem: (continued) - ...I restart apache and get this error: Access You don't have to access the requested There is either no index document or the directory is If you think this is a server error, please contact the..

virtual hosting - I am trying to host 3 domains, when I browse to each site it is only the first site as detailed in the Help -- Mcploppy © { Remove both MyShoes to email me} { Homepage: } { Local Radio:..

virtual hosting - I have Apache 2.0.48 (Win32) XP and I would like to know how to test the virtual host on my PC. What I am trying to do is setup Apache as a virtual host only so that I can run and Perl CGI code. Thanks, Jerry

Virtual hosting - I've setup two named base hosting. The main site under and the other The main site loads quicker than the site under /home is this normal? Both sites contain the same amount of space. Badboy

Virtual hosting - I have been reading all the post that have something to do with I have two website one is the other is I made a folder in my htdocs called hosts. I made two folders in that called transport and..
Next:  Apache: difference between apache Redirect vs. Rewrite on SEO  
Author Message
Daicoden

External


Since: Feb 22, 2008
Posts: 1



(Msg. 1) Posted: Fri Feb 22, 2008 6:47 am
Post subject: Subdomains Continued (Virtual Hosting)
Archived from groups: alt>apache>configuration (more info?)

I really wish threads weren't archived... or the original author could
re-open them. If I could post to this previous thread I apologize but
I could not find the reply link.

http://groups.google.com/group/alt.apache.configuration/browse_thread/...ead/5ea

I wanted to be able to use the virtual hosting capabilities of
apache. I wanted http://woodstock.com to use vhost to use
woodstock.snoopy.com and snoopy.com to use the default vhost.

Floor was very helpful and told me to replace the order of the vhost
blocks and it worked perfectly. Unfortunately after adding a third
Vhost recently the solution did not work anymore. Any outside domains
were automatically directed to the first vhost block. I am just
posting the solution because I remember spending hours trying to find
the answer.

DNS is configured like...

Snoopy's settings:
@ xxx.xxx.xxx.xxx A
woodstock snoopy.com CNAME

Woodstock's settings:
@ woodstock.snoopy.com CNAME

Apache configuration 01_woodstock_vhost.conf on the machine that hosts
snoopy is

#Here is the key change... before I was using woodstock.snoopy.com
NameVirtualHost woodstock.com:80

<VirtualHost *:80>
DocumentRoot "/var/www/woodstock/"
ServerName "woodstock.snoopy.com"
</VirtualHost>

if you have the default vhost then you will be able to visit
snoopy.com and woodstock.com, and receive the proper vhosts without
changing the order around.

 >> Stay informed about: Subdomains Continued (Virtual Hosting) 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (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 ]