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.....
Page 1 of 1
Domain Name Web Forwarding Need help with Domain Name Web Forwarding
#1
Posted 22 February 2008 - 03:59 PM
#2
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.
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.
Low cost Windows Hosting, Great Linux Hosting, Domain Names and Cheap SSL certificates
Hosting supports .NET 4, Classic ASP3, PHP, Ruby on Rails, Perl, Python, mySQL5, SQL Server 2008 and much more
SSL certificates from only £6.95
Hosting supports .NET 4, Classic ASP3, PHP, Ruby on Rails, Perl, Python, mySQL5, SQL Server 2008 and much more
SSL certificates from only £6.95
#3
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.
I have a gut feeling its an A Record.
█ Rob - Creative Director
█ Peartree Digital Media Solutions & Peartree Hosting Department.
█ Providing a range of services from graphic design and XHTML coding to web hosting, VPS and dedicated servers.
█ My views and opinions are my own and in no way do they represent the company I work for...
█ Peartree Digital Media Solutions & Peartree Hosting Department.
█ Providing a range of services from graphic design and XHTML coding to web hosting, VPS and dedicated servers.
█ My views and opinions are my own and in no way do they represent the company I work for...
#4
Posted 22 February 2008 - 05:22 PM
Peartree, 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.
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.
Low cost Windows Hosting, Great Linux Hosting, Domain Names and Cheap SSL certificates
Hosting supports .NET 4, Classic ASP3, PHP, Ruby on Rails, Perl, Python, mySQL5, SQL Server 2008 and much more
SSL certificates from only £6.95
Hosting supports .NET 4, Classic ASP3, PHP, Ruby on Rails, Perl, Python, mySQL5, SQL Server 2008 and much more
SSL certificates from only £6.95
#5
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.
In which case either an old fashioned iframe or some dynamic scripting as ServWise said.
█ Rob - Creative Director
█ Peartree Digital Media Solutions & Peartree Hosting Department.
█ Providing a range of services from graphic design and XHTML coding to web hosting, VPS and dedicated servers.
█ My views and opinions are my own and in no way do they represent the company I work for...
█ Peartree Digital Media Solutions & Peartree Hosting Department.
█ Providing a range of services from graphic design and XHTML coding to web hosting, VPS and dedicated servers.
█ My views and opinions are my own and in no way do they represent the company I work for...
#6
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
Redirect /olddirectory/oldfile.html http://yoursite.com/...ry/newfile.html
/Add HTML or code editors to our big list of editors
/Know of a shopping cart? Add it to our Complete list of shopping carts
/Help keep WDF a nice place - please use the Report button to tell us about spam or scam!
/Expressioneengine Pro Network member
/Links are advertising not optimising!
/Know of a shopping cart? Add it to our Complete list of shopping carts
/Help keep WDF a nice place - please use the Report button to tell us about spam or scam!
/Expressioneengine Pro Network member
/Links are advertising not optimising!
#7
Posted 23 February 2008 - 05:24 PM
bluedreamer, 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
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.
Low cost Windows Hosting, Great Linux Hosting, Domain Names and Cheap SSL certificates
Hosting supports .NET 4, Classic ASP3, PHP, Ruby on Rails, Perl, Python, mySQL5, SQL Server 2008 and much more
SSL certificates from only £6.95
Hosting supports .NET 4, Classic ASP3, PHP, Ruby on Rails, Perl, Python, mySQL5, SQL Server 2008 and much more
SSL certificates from only £6.95
#8
Posted 23 February 2008 - 11:58 PM
ServWise.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.
/Add HTML or code editors to our big list of editors
/Know of a shopping cart? Add it to our Complete list of shopping carts
/Help keep WDF a nice place - please use the Report button to tell us about spam or scam!
/Expressioneengine Pro Network member
/Links are advertising not optimising!
/Know of a shopping cart? Add it to our Complete list of shopping carts
/Help keep WDF a nice place - please use the Report button to tell us about spam or scam!
/Expressioneengine Pro Network member
/Links are advertising not optimising!
Share this topic:
Page 1 of 1

Help






MultiQuote











