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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 2nd, 2003, 09:55 PM
ChocboCrosser ChocboCrosser is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 26 ChocboCrosser User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to ChocboCrosser
Ok now

I've finally got a dns server set-up and everything. Now I dont get it... If I wanted say someone has a folder on my server named /folder and their domain name was www.folder.com
what would I do to let them use their domain name instead'a
http://yotokyox.ath.cx/folder
I have a primary dns set-up for yotokyox.ath.cx and a secondary one too if i need to use it. Just need directions and how to do this.

Reply With Quote
  #2  
Old August 2nd, 2003, 10:24 PM
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
You need to add a virtual host for their domain. This virtual host will define the folder that acts as root for their website. That's the webserver end of things.

On the DNS server end of things, they need a host. You may offer to host the domain for them. Otherwise, they find their own host or be their own host, and set the 'A' (IP) record for their domain to the address of your webserver.

If you want to host the domain... You'll have to install a dns server, provide a means to let them edit their zone file and a means to dynamically load changed zone files. All they have to do is buy the domain and set the dns registry to use your dns server(s) as the host of their domain.
__________________
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
  #3  
Old August 2nd, 2003, 10:53 PM
ChocboCrosser ChocboCrosser is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 26 ChocboCrosser User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to ChocboCrosser
I'm using virtual host right now on apache but I was wondering if there was another way to do it b/c I hear that u cant use ssl with virtualhost so I'm curious to know how to do it without it.
I have a dns server set-up like i said. And to host their domain I just make a primary or secondary dns?

Reply With Quote
  #4  
Old August 3rd, 2003, 02:41 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
you'll need either 1 or 2 servers. primary or secondary doesn't have any real meaning. The server with the domain records is the primary or authoritative server. If you should have another server, it will be a slave to the authoritative server.

I don't know about ssl and virtual hosts. There is another alternative though. You can setup a script that'll redirect all requests headed for www.folder.com to the proper url. Something like this:

Browser issues request for: http://www.folder.com

www.folder.com resolves to your server address and would normally result in displaying your root index page. Instead, you have a script handle the root index, and it will return a redirect to the browser...

Server response with: 302 redirect -> http://www.folder.com/folder

Browser then issues request for: http://www.folder.com/folder

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Ok now


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 1 hosted by Hostway