|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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??
|
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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?
|
|
#4
|
|||
|
|||
|
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.
|
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||
|
|||
|
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
|
|
#7
|
|||
|
|||
|
RE: Virtual Hosts
ya, I emailed it to you. Thanks for the help
|
|
#8
|
|||
|
|||
|
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? |
|
#9
|
|||
|
|||
|
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 |
|
#10
|
|||
|
|||
|
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.
|
|
#11
|
|||
|
|||
|
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
|
|
#12
|
|||
|
|||
|
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? |
|
#13
|
|||
|
|||
|
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.
|
|
#14
|
|||
|
|||
|
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
|
|
#15
|
|||
|
|||
|
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
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > Virtual Hosts |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|