-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
William Astle wrote:
> Mitchell Brown wrote:
>> Hey
>>
>> What does one have to do to make a DNS record that will redirect a
>> subdomain (or even a regular domain) to a complete other website?
>> Lets pretend I want to have
>>
>> http://mitchellbrown.ca <http://mitchellbrown.ca> redirect to
>> http://freesuperduperwebhosting.com/members/free/~mbgb14/public_html
>> What would I do? I don't know much about different types of DNS records :S
>>
>> Oh, and would it be possible to do this while keeping the
>> "mitchellbrown.ca <http://mitchellbrown.ca>" part in the title bar?
>
> You don't do that in DNS. DNS doesn't work that way.
>
> You need to point it at a server with, say, Apache, then configure
> Apache to do the redirect.
>
> If you want to keep "mitchellbrown.ca" in the location bar, you would
> have to arrange to have the real site load up inside of a frame (or
> equivalent) or futz around with proxying.
>
Once you have mithellbrown.ca hosted somewhere, this index.html file
should redirect them properly:
This loads the actual site in a frame so that end users actually see
mitchellbrown.ca
<html>
<head>
<title>Site Title</title>
</head>
<frameset frameborder=0 framespacing=0 border=0 rows="100%,*" noresize>
<frame name="TOPFRAME" src="http://members.shaw.ca/example"
noresize>
</frameset>
</html>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFFsOAwRXgH3rKGfMRAusRAJ483I7uPYiJ7GL2j23yscbYQoL7nACfdccd
7/OKyrKZUv3oSn1IL431WS0=
=+yzE
-----END PGP SIGNATURE-----
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying