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:
  #1  
Old June 6th, 2004, 12:15 PM
Dakkar Dakkar is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 Dakkar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Apache virtual host problem?

I have several domains in my windows apache and its working but when somebody try to enter my ip adress they are redirecting to a one of my domains site
for example if somebody triesto enter this url

URL

they are directing one of my domains site or getting 404 error
my httpd.confs virtual host part is like this

Code:
NameVirtualHost URL
<VirtualHost www.sylveria.gen.tr>
    ServerAdmin URL
    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/Sylveria"
    ServerName sylveria.gen.tr
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

NameVirtualHost URL
<VirtualHost www.sylveria.org>
    ServerAdmin URL
    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/Sylveria2"
    ServerName sylveria.org
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

NameVirtualHost URL
<VirtualHost www.supersonicscorp.com>
    ServerAdmin URL
    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/syldatabase"
    ServerName supersonicscorp.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

NameVirtualHost kayit.sylveria.gen.tr
<VirtualHost kayit.sylveria.gen.tr>
    ServerAdmin URL
    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/kayit"
    ServerName kayit.sylveria.gen.tr
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

NameVirtualHost sifre.sylveria.gen.tr
<VirtualHost sifre.sylveria.gen.tr>
    ServerAdmin URL
    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs/pw"
    ServerName sifre.sylveria.gen.tr
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>


how can i fix it?
thanks

Reply With Quote
  #2  
Old June 6th, 2004, 12:35 PM
Matrix28 Matrix28 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 23 Matrix28 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Just point the defaul 404 to the page you want to be served.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Apache virtual host problem?


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 6 hosted by Hostway
Stay green...Green IT