473,322 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How to integrate DNS and referrals??

I have noticed that some Domain Registrars seem to offer an
integrated
web referral service. For instance, in the registrar's DNS control
panel, you can set a link from a DNS name <foo.bar.comto a website
subdirectory like <http://cis.boom.org/foo>. Anyone have a clue how
this is done at the level of DNS?? I could imagine that you could
point a DNS name like foo.bar.com to a webserver where a 'referral'
snippet might exist as the index.html referring to http://cis.boom.org/foo
but I am not aware of any public domain programmatic way of doing
this.... Any clues or suggestions??

Thanks,
Dave
Aug 30 '08 #1
2 1548
On Sat, 30 Aug 2008 08:16:02 -0700 (PDT), dp****@dpsims.com wrote:
I have noticed that some Domain Registrars seem to offer an
integrated
web referral service. For instance, in the registrar's DNS control
panel, you can set a link from a DNS name <foo.bar.comto a website
subdirectory like <http://cis.boom.org/foo>. Anyone have a clue how
this is done at the level of DNS?? I could imagine that you could
point a DNS name like foo.bar.com to a webserver where a 'referral'
snippet might exist as the index.html referring to http://cis.boom.org/foo
but I am not aware of any public domain programmatic way of doing
this.... Any clues or suggestions??

I'm not sure from your description whether you're talking about a redirect
or a proxy. In either case, you (or the company managing the domain) set
the A record for something.example.com to point to one of your (their)
servers.

For a proxy (something.example.com actually serves up the same content as
example.org/somewhere), you then have a record in the server configuration
that looks a little like this:

<VirtualHost *:80>
ServerName something.example.com
RewriteEngine On
RewriteRule ^(.*)$ http://www.example.org/somewhere$1 [P]
</VirtualHost>

For a redirect (something.example.com redirects to example.org/somewhere),
it's pretty similar, except you replace [P] with [R] and obtain the log of
redirects from a server log set up for that subdomain. Or you can rewrite
the request inernally to redirect through some custom script.
--
Safalra (Stephen Morley)

A Colour Picker Widget For javascript:
http://www.safalra.com/web-design/ja...colour-picker/
Aug 30 '08 #2
dp****@dpsims.com wrote:
[...] you can set a link from a DNS name <foo.bar.comto a website
subdirectory like <http://cis.boom.org/foo>. Anyone have a clue how
this is done at the level of DNS?
It can't be done purely within DNS.

I could imagine that you could point a DNS name like foo.bar.com to
a webserver where a 'referral' snippet might exist as the index.html
Referring to http://cis.boom.org/foo [...]
That's how it's normally done, yes.

but I am not aware of any public
domain programmatic way of doing this.... Any clues or suggestions??
I believe F5's distributed fault-tolerant servers can do this as part of
their management console, but as I've not actually played with one I
can't given you a definite assurance about that.

Conceptually it's not hard to merge a simple HTTP forwarding request
system with DNS management; the forwarding pages could even be generated
dynamically from a database.

Chris
Sep 2 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rob R. Ainscough | last post by:
I'm looking for some Knowledge base tools that would integrate into VS.2003 and be flexible. My developers would us it to house important tips, tricks, and other information -- needs to have...
3
by: Tom Kaz | last post by:
I need to compute integral of some array function, something like: from scipy import * f = lambda x: array( ) integrate.quad(f, 0, 1) Unfortunately integrate.quad requires Float type.
5
by: Marcelo | last post by:
How can I integrate c++ programs inside a GUI java interface? I would like to get the results from a c++ program and integrate them inside a java GUI. thanks Marcelo
1
by: Johnny Meredith | last post by:
Dear All, I have an Access database that tracks the progress of income tax audits. When the taxing authorities make a change (an "Adjustment"), I record the pertinent information in the...
0
by: P McGinness | last post by:
Basically, I've a JS function called ValidateForm(), which returns true or false and controls if the form submits. When I integrate this with .NET validators, the .NET always adds it's own call...
1
by: Kiran | last post by:
Hi, I have my reports at http:\\localhost\ReportServer and need to use them in ASP.NET Web Form.I have a few questions reg. this ------> I want to generate a PDF when a button labeled...
2
by: Fabio | last post by:
Hi all, Someone know how to manually integrate msdn 2005 on visual studio 2005 beta, I have both installed, but the msdn does not integrate itself in visual studio. I tried to unistall and...
2
by: pdmountaineer | last post by:
hi, I am writing a C program and I would like to integrate some executables (.EXE files) from my C program. Is this possible and how should one do this exactly? kind regards
2
by: pdmountaineer | last post by:
hi, I would like to integrate some executable files (.EXE files) into a new C program. Is this possible and if so, how should it be done exactly??? kind regards
1
by: sivth98 | last post by:
hi guys, I want to integrate a design in redqueen. Can anyone assist me how should i integrate. I am not much familar with cgi works. Regards Siva
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.