Forum Moderators: buckworks & webwork

Message Too Old, No Replies

showing different url

         

nikolaoscy

10:20 am on Mar 11, 2003 (gmt 0)

10+ Year Member



Hi
i have the following question about url's. first let me take the things from the beggining. i have a webpage hosted to one of those free space providers ex www.freespace.com/nikolaoscy and i recently got a domain name ex. www.nikolaoscy.com The problem is that the freespace provider doesnot allow the donaim name provider to access their servers so i can have my domain name pointing directly to their servers so i bought some space to another hosting provider and i put their just an html with redirection code to my free space provider where my actual page is. when the users type my url www.nikolaoscy.com they redirected to www.freespace.com/nikolaoscy the thing is that i dont want them to see that url www.freespace.com/nikolaoscy but to see what they type www.nikolaoscy.com can i do that with a javascript? is there a solution for that?

Thank you

Alternative Future

11:26 am on Mar 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

[Added]Welcome to WebMasterWorld[/Added]

You might need to use CGI or another programmable language on your new space, do you have access to this?

If not and are looking for a temporary way forward, not the best though, try this:

[NewSpaceCode]
<frameset frameborder="0" border="0" rows="0,*">
<frame src="blank.html" NAME="BlankHTML" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" NORESIZE BORDERCOLOR="#FFFFFF">

<frame src="http://www.yourdomain.com/yourdir" name="MyOrigPage" bordercolor="#FFFFFF">
<noframes>
<body bgcolor="#FFFFFF">
<p align="center">
If your browser does not support frames then <a href="http://www.yourdomain.com/yourdir">click here.</a>
</p>
</body>
</noframes>
</frameset>
[End-NewSpaceCode]

Remember to put this code in-between your body tags on the server with yourdomain.com belongs pointing to the site you wish to have in view!

[Disclaimer]
Frames can be useful, but can be a bit of a pain with SE's, put all your Meta descriptions in yourdomain.com .html page!

HTH,

-gs

nikolaoscy

11:32 am on Mar 11, 2003 (gmt 0)

10+ Year Member



i will try this and i will replay

Thanks

vaanA

11:26 pm on Mar 11, 2003 (gmt 0)

10+ Year Member



Hi,

It is much easier to use domain forwarding.
Domain forwarding is e.g. available at www.ControlWebs.com.
If you register your name at Controlwebs.com, you can use their free DNS service, in which you can select the following (example) setting:

----- hostname ---- Record-type --- Address
1)--- www -------- URL Frame ----- [<anyname.com>...]
2)--- @ (none) ---- URL Frame ----- [<anyname.com>...]

nikolaoscy

10:50 am on Mar 12, 2003 (gmt 0)

10+ Year Member



vaana i think this is not applicable because the site you recomended does not support domain such as mine that is .com.cy

Alternative Future

10:56 am on Mar 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Did the frame suggestion work?

-gs

nikolaoscy

1:57 pm on Mar 12, 2003 (gmt 0)

10+ Year Member



AF no it didnt i just get a blank page do u know why
?

Alternative Future

2:06 pm on Mar 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you post a snip of the code and i should be able to find an answer.

-gs

nikolaoscy

2:18 pm on Mar 12, 2003 (gmt 0)

10+ Year Member



<HTML>
<head>
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.agrino.org/madboyscy/">
</head>
</html>

This is the code that i have in order to redirect the users to my page that lies in a free hosting provider.

Note: The page with the above code lies on my providers servers.

Alternative Future

2:24 pm on Mar 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



nikolaoscy,

Did you try the suggestion above with the use of frames?

Where the framed content lies on your host with the www.yourdomain.com, and it calls on the content within your www.yourfreehostsdomain.com/yourspace!

-gs

nikolaoscy

2:34 pm on Mar 12, 2003 (gmt 0)

10+ Year Member



yes

<HTML>

<body>
<frameset frameborder="0" border="0" rows="0,*">
<frame src="blank.html" NAME="BlankHTML" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" NORESIZE BORDERCOLOR="#FFFFFF">

<frame src="http://www.madboys.com.cy" name="MyOrigPage" bordercolor="#FFFFFF">
<noframes>
<body bgcolor="#FFFFFF">
<p align="center">
If your browser does not support frames then <a href="http://www.agrino.org/madboyscy">click here.</a>
</p>
</body>
</noframes>
</frameset>



</html>

i did something wrong here

Alternative Future

2:40 pm on Mar 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



nikolaoscy,

Try it without the <body> tag!

<HTML>
<frameset frameborder="0" border="0" rows="0,*">
<frame src="blank.html" NAME="BlankHTML" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" NORESIZE BORDERCOLOR="#FFFFFF">

<frame src="http://www.madboys.com.cy" name="MyOrigPage" bordercolor="#FFFFFF">
<noframes>
<body bgcolor="#FFFFFF">
<p align="center">
If your browser does not support frames then <a href="http://www.agrino.org/madboyscy">click here.</a>
</p>
</body>
</noframes>
</frameset>
</html>

I have removed it from this copy...

HTH,

-gs

nikolaoscy

2:45 pm on Mar 12, 2003 (gmt 0)

10+ Year Member



it didint work

Alternative Future

2:51 pm on Mar 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Strange i tried it from this end and it worked fine with me :()

I tried to access the domain you included and that didn;t work either!

I then went on to try it with another domain <frame src="http://www.webmasterworld.com" name="MyOrigPage" bordercolor="#FFFFFF"> which works fine!
Check your domain ;)

-gs

nikolaoscy

3:01 pm on Mar 12, 2003 (gmt 0)

10+ Year Member



it work with this code

<HTML>

<frameset frameborder="0" border="0" rows="0,*">
<frame src="blank.html" NAME="BlankHTML" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" NORESIZE BORDERCOLOR="#FFFFFF">

// see the source here

<frame src="http://www.agrino.org/madboyscy" name="MyOrigPage" bordercolor="#FFFFFF">
<noframes>
<body bgcolor="#FFFFFF">
<p align="center">
If your browser does not support frames then <a href="http://www.agrino.org/madboyscy">click here.</a>
</p>

</noframes>
</frameset>



</html>