Web Design Forum: Domain Name Web Forwarding - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Domain Name Web Forwarding Need help with Domain Name Web Forwarding Rate Topic: -----

#1 User is offline   jamieclock 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 129
  • Joined: 22-February 08
  • Reputation: 0
  • Gender:Male
  • Location:Brackley, Northamptonshire
  • Experience:Intermediate
  • Area of Expertise:Designer

Posted 22 February 2008 - 03:59 PM

Hi all, Im new here, looking for help!

Does anyone know if I can do the following, if so, how?

I have a domain name 'clockwork-design.com' poining to my website hosted on my webspace.

I want to keep my domain name ponting to my website on my webspace but activate web forwarding of 'clockwork-design.com/sample' to another domain name, (for example- www.clients.star-digital.co.uk/clockworkdesign/sample) keeping 'clockwork-design.com/sample' in the web browser heading. I hope this is clear? Can anyone help.....
0

#2 User is offline   ServWise.com 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 32
  • Joined: 07-January 08
  • Reputation: 0
  • Location:Sardinia, Italy / London, UK
  • Experience:Web Guru
  • Area of Expertise:Entrepreneur

Posted 22 February 2008 - 04:17 PM

There are only a few ways to do that, and none of them very elegant.

1. easy but ugly, put a page with a 100% iframe with the source being the other domain name.
2. use a server side script to pull in the html from the site where the page of content is and display it in your page on this domain, a form of full page screen scraping.

unfortunately I don't know of any way to do it with a sub-folder of a domain, you can certainly redirect the user but redirect and keep the same URL is not possible AFAIK.
0

#3 User is offline   Peartree 

  • The one and only :)
  • PipPipPipPip
  • Group: Members
  • Posts: 967
  • Joined: 15-February 08
  • Reputation: 11
  • Gender:Male
  • Location:Here, There and Everywhere
  • Experience:Web Guru
  • Area of Expertise:Designer/Coder

Posted 22 February 2008 - 04:59 PM

You could use either a CNAME or A Record - I cant quite remember which one it was. Anyhow one will do what you want to do.

I have a gut feeling its an A Record.
0

#4 User is offline   ServWise.com 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 32
  • Joined: 07-January 08
  • Reputation: 0
  • Location:Sardinia, Italy / London, UK
  • Experience:Web Guru
  • Area of Expertise:Entrepreneur

Posted 22 February 2008 - 05:22 PM

View PostPeartree, on Feb 22 2008, 17:59, said:

You could use either a CNAME or A Record - I cant quite remember which one it was. Anyhow one will do what you want to do.

I have a gut feeling its an A Record.


umm you might want to read his email again. He basically wants to forward a folder/page on one domain to a folder/page on another, keeping the address of the original page in the address bar.

Using an A record or CNAME will do none of this, in fact it has nothing to do with his question as A and CNAME DNS records deal with domain names not folders/files.

If you set the CNAME for 'clockwork-design.com' to point to 'clients.star-digital.co.uk' all that would happen is that the first domain would take on the DNS records of the second domain, including email etc and the whole first domain would be pointing to the IP's of the second domain (Basically bye bye first website).

It is not possible to set an A record to point to a domain name, A records only point to IP addresses.
0

#5 User is offline   Peartree 

  • The one and only :)
  • PipPipPipPip
  • Group: Members
  • Posts: 967
  • Joined: 15-February 08
  • Reputation: 11
  • Gender:Male
  • Location:Here, There and Everywhere
  • Experience:Web Guru
  • Area of Expertise:Designer/Coder

Posted 22 February 2008 - 05:46 PM

I'm guess im getting confused between something else :(

In which case either an old fashioned iframe or some dynamic scripting as ServWise said.
0

#6 User is offline   BlueDreamer 

  • Web Guru
  • Group: Moderators
  • Posts: 5,674
  • Joined: 23-October 07
  • Reputation: 192
  • Gender:Male
  • Location:Northampton (where?)
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 23 February 2008 - 04:10 PM

It's quite straightforward with .htaccess, just add

Redirect /olddirectory/oldfile.html http://yoursite.com/...ry/newfile.html
0

#7 User is offline   ServWise.com 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 32
  • Joined: 07-January 08
  • Reputation: 0
  • Location:Sardinia, Italy / London, UK
  • Experience:Web Guru
  • Area of Expertise:Entrepreneur

Posted 23 February 2008 - 05:24 PM

View Postbluedreamer, on Feb 23 2008, 17:10, said:

It's quite straightforward with .htaccess, just add

Redirect /olddirectory/oldfile.html http://yoursite.com/...ry/newfile.html



I still don't think that will do what he wants which is to keep the URL in the address bar the same as the first address.
0

#8 User is offline   BlueDreamer 

  • Web Guru
  • Group: Moderators
  • Posts: 5,674
  • Joined: 23-October 07
  • Reputation: 192
  • Gender:Male
  • Location:Northampton (where?)
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 23 February 2008 - 11:58 PM

View PostServWise.com, on Feb 23 2008, 17:24, said:

I still don't think that will do what he wants which is to keep the URL in the address bar the same as the first address.


Damn I missed that bit! You're right a full redirect won't work. I think the only solution is to use frames or an iframe.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users