SunQuest
 
           Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 8th, 2004, 09:23 AM
minesh minesh is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 5 minesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Name Virtual Host Help

I had a look around the forum and also try different orders.
but i still cant name-bases Virtual Host to work this is what i like to do

on computer 1 (call flux) i have set up a Virtual Host like this:

===
BindAddress *
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot h:/phpdev/www
ServerName localhost
</VirtualHost>
<VirtualHost *>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot h:/phpdev/boo
ServerName boo
ServerAlias boo
</VirtualHost>
===
On flux i can access both names-bases Virtual Host but on my other computer (trix) i can only access the main
localhost site , when trying to access http://boo i get a error saying: The page cannot be displayed.

this is only for my intranet not for people to access from the internet
using apache 1.3 on WinXP Pro and boo is only a test name ok

can any one help
thank you
Minesh M

Reply With Quote
  #2  
Old July 8th, 2004, 09:45 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
On your other system, you need a host entry or something approximating DNS telling it what IP to resolve boo to. On a windows box, I think you can use a hosts or lmhosts file to set up such an alias.
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
  #3  
Old July 8th, 2004, 10:08 AM
minesh minesh is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 5 minesh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking

thank you so much!!!

i was trying to get it working for for a weeks
thank you again

what i did is (well was told to do):

I edited the "hosts" file on my other computer (trix)
C:\WINDOWS\system32\drivers\etc\
to

===
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost boo
===

i hope other people also find this helpful

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Name Virtual Host Help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway