Hiding domain adresses . . .
Thread Starter
Joined: Nov 2001
Posts: 17,864
Likes: 0
From: Not all those who wander are lost
I'm pretty new to web design and have no idea about coding in HTML but I've written a little homepage with FrontPage (Ok, its one of the templates
), hosted with blueyonder and purchased my domain name.
Problem is, when you go to my domain and auto-redirect to the webspace, the address in the address bar changes to the blueyonder url. Normal I know, but I don't like it [img]images/smilies/mad.gif[/img].
Is there any way of making the address stay as my domain name ?
Cut and paste HTML would be helpful please
), hosted with blueyonder and purchased my domain name.Problem is, when you go to my domain and auto-redirect to the webspace, the address in the address bar changes to the blueyonder url. Normal I know, but I don't like it [img]images/smilies/mad.gif[/img].
Is there any way of making the address stay as my domain name ?
Cut and paste HTML would be helpful please
set your index.htm to this (changing the htm pages of course) and redirect you www.djdunk.com to this index.htm page
<html>
<head>
<title>DJ Dunk's P0rn Palace</title>
</head>
<frameset FRAMESPACING="0" BORDER="0" rows="1,*" frameborder="0">
<frame MARGINWIDTH="0" MARGINHEIGHT="0" NAME="top" NORESIZE SCROLLING="NO"
SRC="top.htm" FRAMEBORDER="0">
<frame MARGINWIDTH="12" MARGINHEIGHT="0" NAME="content" SCROLLING="AUTO" SRC="real_bottom_page.htm"
FRAMEBORDER="0">
<noframes>
<body>
<p>You can't do frames you loser!</p>
</body>
</noframes>
</frameset>
</html>
As long as your pages don't reference frames you're on to a winner.
Fosters
<html>
<head>
<title>DJ Dunk's P0rn Palace</title>
</head>
<frameset FRAMESPACING="0" BORDER="0" rows="1,*" frameborder="0">
<frame MARGINWIDTH="0" MARGINHEIGHT="0" NAME="top" NORESIZE SCROLLING="NO"
SRC="top.htm" FRAMEBORDER="0">
<frame MARGINWIDTH="12" MARGINHEIGHT="0" NAME="content" SCROLLING="AUTO" SRC="real_bottom_page.htm"
FRAMEBORDER="0">
<noframes>
<body>
<p>You can't do frames you loser!</p>
</body>
</noframes>
</frameset>
</html>
As long as your pages don't reference frames you're on to a winner.
Fosters
Not normal actually, just a bad setup. There's no reason the address should change, but it depends how they've set up their webserver. If they set them up with virtualhosts as most ISPs would then you'd see nothing at all. What does it redirect to, out of interest? Could just be a misconfigured UseCanonicalName setting (presuming Apache). Either way you'd have to mail them and probably explain why you wanted the change, and they'd more than likely say no!
Steve.
Steve.
Thread Starter
Joined: Nov 2001
Posts: 17,864
Likes: 0
From: Not all those who wander are lost
Yeah, thanks Fosters
How did you guess it was www.djdunk.com 
My site doesn't currently use frames, but may do if I can be bothered to re-install Dreamweaver. Will it still work then ?
Apart from making me look like a kn0b, what do the bits of code do exactly ?
How did you guess it was www.djdunk.com 
My site doesn't currently use frames, but may do if I can be bothered to re-install Dreamweaver. Will it still work then ?
Apart from making me look like a kn0b, what do the bits of code do exactly ?

Thread Starter
Joined: Nov 2001
Posts: 17,864
Likes: 0
From: Not all those who wander are lost
I bought my domain from Lycos and my webspace is Blueyonder.
I set my Lycos domain to redirect to the Blueyonder webspace.
The domain is www.djdunk.com, if you pop along you'll see my predicament (so to speak
)
I set my Lycos domain to redirect to the Blueyonder webspace.
The domain is www.djdunk.com, if you pop along you'll see my predicament (so to speak
)
Trending Topics
Web Masking definately needs to be activated on the host server. I had this problem with madasafish, who refused to enable web masking, moved everything to intensive networks, all is cool:-
http://www.modrapheniacs.co.uk
See for yourself.
Cheers,
Darrell
http://www.modrapheniacs.co.uk
See for yourself.
Cheers,
Darrell
cant really comment on the above, however if you want the status bar to display your domain name, put this after the </head>
and before the <body>
<script language="JavaScript">
function wst(){
window.status="http://www.ruellan.co.uk";
window.setTimeout("wst()",0);
}
wst();
</script>
and before the <body>
<script language="JavaScript">
function wst(){
window.status="http://www.ruellan.co.uk";
window.setTimeout("wst()",0);
}
wst();
</script>
'Web masking' whatever that is wont work in this case. The server hosting www.djdunk.com is sending a temporary redirect to the client, and the client is loading the page it was told to and changing the location (correctly) to reflect that.
Steve.
Steve.
No 
Webservers aren't linked, there's no communication between them. If Server A redirects to Server B then as far as Server B is concerned it's a brand new request, it doesn't know which URL was originally requested. Your client sees the redirect and that's the new location, so it updates the location bar and makes the new request.
Server B has no idea that you initially requested Server A, the HTTP protocol is totally stateless so there's no way it can 'pretend' to be something it has no notion of, even if it wanted to. Just imagine the mess we'd all be in if it was possible to modify things like that, you wouldn't know what site you were viewing for sure
If you have any docs relating to 'web masking' then I'd like to have a look, I haven't come across anything like it in 5 years webserver development. Unless it really is just a frames thing, which would still conform to the model above.
Steve.

Webservers aren't linked, there's no communication between them. If Server A redirects to Server B then as far as Server B is concerned it's a brand new request, it doesn't know which URL was originally requested. Your client sees the redirect and that's the new location, so it updates the location bar and makes the new request.
Server B has no idea that you initially requested Server A, the HTTP protocol is totally stateless so there's no way it can 'pretend' to be something it has no notion of, even if it wanted to. Just imagine the mess we'd all be in if it was possible to modify things like that, you wouldn't know what site you were viewing for sure

If you have any docs relating to 'web masking' then I'd like to have a look, I haven't come across anything like it in 5 years webserver development. Unless it really is just a frames thing, which would still conform to the model above.
Steve.
I did a Google search on 'web masking' and found a few ISPs that offer the service. It's just a proxy set up under a different name to cater for the mass of domains that have been registered the past few years that don't have a local virtual host configuration.
Basically Dunk, you'll need to get Lycos to set up your proxying (or 'masking') since it's them that www.djdunk.com resolves to, and it's that domain you want people to see. Blueyonder can't do anything.
Steve.
Basically Dunk, you'll need to get Lycos to set up your proxying (or 'masking') since it's them that www.djdunk.com resolves to, and it's that domain you want people to see. Blueyonder can't do anything.
Steve.
i'd be very surprised if BY will let you host a site from a cable modem connection from your pc @ home as i know this is not an "uhm" allowed thing to do, they might let you host it off one of their servers, but not your pc...
Steve, it is just a frames thing - which is why when you ask these companies to set the url masking on and you go to www.djdunk.com, that's what appears in the address bar.
Unfortunately, if you had a link to www.google.com from your site, you'd be looking at the google page but http://www.djdunk.com would still be in the address bar - until you went to a page that hogged the parent frame again.
Unfortunately, if you had a link to www.google.com from your site, you'd be looking at the google page but http://www.djdunk.com would still be in the address bar - until you went to a page that hogged the parent frame again.
Even if you used frames you'd still have to do it on the Lycos host, not Blueyonder. Any external links would just need to have a target="top" (or something) in the href to get around the problem you outline.
Steve.
Steve.
Thread
Thread Starter
Forum
Replies
Last Post
Mkhan
Non Scooby Related
14
Aug 9, 2001 02:07 AM
DominicA
Non Scooby Related
3
Aug 3, 2001 09:11 AM




