Jump to content

Archived

This topic is now archived and is closed to further replies.

redarrow

url help cheers

Recommended Posts

the problam i got.

I use a sub damain name for my url.

example

http://me.ath.cx

i want to rewrite the sub domain url to show this

http://www.me.co.uk

how please as i will register http://www.me.co.uk

but when the user goes to the page the sub domain is this http://me.ath.cx but want to show http://www.me.co.uk
becose now i own http://www.me.co.uk
hope you understand.

Share this post


Link to post
Share on other sites
Can you explain again?
I think what you mean is that every page (for example- http://me.ath.cx/file.php) it will redirect to the matching page (in our example- http://www.me.co.uk/file.php)? Not sure tho.

Orio.

Share this post


Link to post
Share on other sites
i register http://www.me.co.uk and then i use a foward service to goto my sub domain
http://me.ath.cx ok.

know when a user goes to the page from the foward they see in the url http://me.ath.cx but i want them to see http://www.me.co.uk but  i got to some how get the sub domain to look the same as the fowarding domain.

Share this post


Link to post
Share on other sites
like this example ok


RewriteCond %{HTT_HOST} ^ me.ath.cx [NC]
RewriteRule ^(.*)$ http://www.me.co.uk/$1 [r=301,l]

i need the url of http//:me.ath.cx to be http://www.me.co.uk

showing in the url of the page but how lol.......

Share this post


Link to post
Share on other sites
my ip is dynamic so i register a www.domain name then point to my subdomain what uses a dynamic service i wont to change that name in the url but how.

Share this post


Link to post
Share on other sites
yes thank you

i think that mod rewite makes a existing url and turn it into any looking url you want am i correct.

so if i wanted to change my current subdomain url to another url but the url will be made up but running off of the sub doamin does mod rewrite do that.

http://me.ath.cx <<<<<<< sub doamain

http://www.me.co.uk <<<<<<<<<<, rewrite domain made up

who ever goes to http://me.ath.cx they see the rewrite url can mod rewite do that.

Share this post


Link to post
Share on other sites
does anyone know how to make up a url but of the back of a sub url.

so if you wanted http://me.ath.cx to be http://www.me.co.uk but as a alias of http://me.ath.cx.

so in the browser you see this url http://www.me.co.uk but in reality the url is http://me.ath.cx

Share this post


Link to post
Share on other sites
Does the company you bought the domain from have a forwarding service? I get all my domains from 123-reg.co.uk and I have the option to forward my domains somewhere else but keep the forwarding domain in the location bar. It's probably done with frames or something...

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.