Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 29th, 2002, 03:39 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
Virtual Hosts

I want to setup some virtual hosts, I have a dynamic IP adress, and a home network, wehre all the traffic goes through one router. I use no-ip services to keep a subdomain working, so how would I set up virtual servers? When I specif a subdomain it all goes to the same one... any ideas??

Reply With Quote
  #2  
Old October 30th, 2002, 12:30 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Virtual Hosts

If you are going to set up virtual hosts for other domains the big problem to overcome is the DNS issue. Virtuals wont work if the domain you want to use does not even point to your server. There are some DNS services that will change as you IP changes but understand that it takes as much as 48 hours for your domain to propagate. So no one may ever get to your server if your IP keeps changing. Also check out my virtual tutorial at http://codewalkers.com/tutorials.php?show=23

Hope this helps

Reply With Quote
  #3  
Old October 30th, 2002, 02:05 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
RE: Virtual Hosts

It isn't actually a true domain, its like a redirector to my IP. I am assuming thats why it won't work. Am I assuming correctly?

Reply With Quote
  #4  
Old October 30th, 2002, 03:05 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Virtual Hosts

If it is a redirector via a web page I don't think that will work beacuse the proper headers are not passed. What service are you using so I can look at it and tell you for sure.

Reply With Quote
  #5  
Old October 31st, 2002, 11:48 PM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
RE: Virtual Hosts

no-ip.com

I looked all over and they didn't say much, and I'm too lazy to look at the headers

Reply With Quote
  #6  
Old November 1st, 2002, 02:01 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Virtual Hosts

Can you do a traceroute to you server from somewhere else I use looking glass at http://lg.conxion.net . if you dont want it posted email it to me postalcow@codewalkers.com also include your domain name if you dont mind

Reply With Quote
  #7  
Old November 2nd, 2002, 06:11 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
RE: Virtual Hosts

ya, I emailed it to you. Thanks for the help

Reply With Quote
  #8  
Old November 2nd, 2002, 03:35 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Virtual Hosts

As you can see, the traceroute dies. This means two things. One it cant reach the final destination... yours. Your ISP also has ICMP blocked.

What kind of connection do you have? Cable, DSL, Wireless? What kind of router or modem do you have?

Reply With Quote
  #9  
Old November 2nd, 2002, 11:39 PM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
RE: Virtual Hosts

I have DSL and a linksys router.
Doesn't a traceroute just trace a ping? If thats the case then my router and firewall both block pings to my machine, so it would more than likely die there. Just a theory

Reply With Quote
  #10  
Old November 3rd, 2002, 01:50 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Virtual Hosts

True, but it is dying four hops before you. Did you set a static route in your router to your machine. Say your machine is 10.0.0.4. If you are using DHCP which gives it the ip instead of you assigning one. If this is the case assign your computer an ip dont let the router assign you one. Then create a static route from the router to your computer I have not done a linksys in a while but I believe it has a gui look for "Static Routes" or something like that. I think that Linksys also has a DMZ Host option that will allow you to make one computer seen to the internet it makes the router a transparent device. Sorry I cant be more help on the Linksys I use a cisco 1605 router at home here but I have a complicated network with 4 valid IP's and one is routed to a 3com NBX phone connected from work.

Reply With Quote
  #11  
Old November 3rd, 2002, 11:56 PM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
RE: Virtual Hosts

Well thats the thing... I have it setup as a DMZ host... And it doesn't work like its supposed to.... And if you happen to know, does it look for a specific header when directing the virtual hosts? And if so what does it look for, and if not, how does it decide, I may be able to finish figuring it out from there. Thanks

Reply With Quote
  #12  
Old November 4th, 2002, 12:22 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Virtual Hosts

Mr. Pickle

I am going to assume that you are going to host one domain. If you only have one and all traffic from port 80 are routed to the webserver, headers don't matter...."too much". your web server will answer the traffic with the default served site.

Let me ask you can someone from the outside telnet to your webserver?

Reply With Quote
  #13  
Old November 4th, 2002, 04:58 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
RE: Virtual Hosts

I do not think that people can telnet into the host. Never really tried, but I don't think so. I may just have to set up a local redirector that redirects fomr the main directory, in general, what it is, I develop scripts and stuff locally, but I don't want to go through the trouble of having to upload them for the people I am making them for to see, so I wanted to set up multiple places for them, it appeared that virtual hosts would do what I wanted, but apparently not, I don't want people to have to dig through the rest of my server to find their script. Make sense? Thats what I am attempting to do, if that is not the right way to go about it, smack me and tell me how to please. I could be wrong, I'm no server guru.

Reply With Quote
  #14  
Old November 7th, 2002, 03:18 AM
pickleman78 pickleman78 is offline
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Dallas,TX,USA
Posts: 582 pickleman78 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via AIM to pickleman78
RE: Virtual Hosts

Hmmm.. I hope that post doesn't seem like smaert eleck, when I reread it it kind of seemed like it had a sarcastic tone to it. Sorry bout that

Reply With Quote
  #15  
Old November 7th, 2002, 04:42 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to postalcow
RE: Virtual Hosts

User starsnatch put up a website that might work a little better look at his post at http://codewalkers.com/forum/index.php?action=displaythread&forum=win_web&id=2&realm=server

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > Virtual Hosts


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




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek