SunQuest
           DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

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 Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old October 6th, 2003, 10:09 AM
robbyg robbyg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 1 robbyg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Dns

I want to host more than one site on my computer with a single outside IP address. Multi .com's to single IP...can any one help?

running IIS, default web goes to main site, I need to add other .com registrations to seperate Webs or Virtual Webs on the same server.

Reply With Quote
  #2  
Old October 13th, 2003, 05:58 PM
dag-otto dag-otto is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Ottawa,Canada
Posts: 28 dag-otto User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yes this is possible, once they are added into DNS this is an IIS issue. You need to configure host header info from your IIS Snap-in, there you can add different .com's for differnt site's or virutal servers.
I suggest you ask the folks in the IIS forum if you need help for the host-header config.

Cheers

Reply With Quote
  #3  
Old October 15th, 2003, 05:07 AM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
This leads me to realise that DNS, other than easy-to-remember names, allows multiple websites to one IP.

Not that we can't do that without IP, just that the URL wouldn't be nice
__________________
free blog | free blogs

Reply With Quote
  #4  
Old October 16th, 2003, 11:35 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
DNS orchestrates it. But it is really the HTTP protocol that makes it possible to host more than 1 site on a single IP.

snippet of browser HTTP request:

GET /path/to/url/page.html HTTP/1.1
Host: www.domain.com
...

The webserver can choose where to look for the content based on the HOST. The browser sticks whatever server domain you placed in the address bar for the HOST. But really, anything at all can be used as the HOST. Many automated hacking scripts use "www" as the HOST. I have a virtual host in my apache to redirect all hack requests to a script which sends a messenger service notifcation to the requesting machine warning them of a possible virus.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #5  
Old October 16th, 2003, 06:25 PM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
Quote:
Originally posted by SilentRage

The webserver can choose where to look for the content based on the HOST. The browser sticks whatever server domain you placed in the address bar for the HOST. But really, anything at all can be used as the HOST. Many automated hacking scripts use "www" as the HOST. I have a virtual host in my apache to redirect all hack requests to a script which sends a messenger service notifcation to the requesting machine warning them of a possible virus.


LOL.

How is that done?

Reply With Quote
  #6  
Old October 17th, 2003, 03:46 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
Well the old version of my virtual hosts look like this:

http://serialcoders.sytes.net/linked/vhosts.txt

And my script looks like this:

http://serialcoders.sytes.net/linked/exploit.txt

Last edited by SilentRage : October 17th, 2003 at 03:50 AM.

Reply With Quote
  #7  
Old October 17th, 2003, 04:32 AM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
Nice =D

Unfortunately, I don't have access to my httpd.conf

How can they exploit your server anyway?

Reply With Quote
  #8  
Old October 17th, 2003, 11:53 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
Well, if you're using IIS webserver then there is a huge risk that IIS won't properly handle a URL request. Most commonly, a hacker or hacking script may send a specially formatted URL to trick the server into executing a program outside of the site root directory (like the DOS command shell 8-0). By looking at my script you can see many of those requests as logged by my webserver. I use apache, so I'm immune to the all-so-common IIS exploits.

I host my site on my own computer which is why I have access to doing this fun stuff. :-) Oh, and once somebody actually emailed me asking what was up with my automated message. ;-)

Reply With Quote
  #9  
Old October 17th, 2003, 07:20 PM
ebloggy ebloggy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 123 ebloggy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 44 m 54 sec
Reputation Power: 5
Ok thanks a bunch =D

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Dns


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