Jump to content


Photo

url help cheers


  • Please log in to reply
10 replies to this topic

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 August 2006 - 10:55 AM

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.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#2 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 19 August 2006 - 10:58 AM

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.
Think you're smarty?

(Gone until 20 to November)

#3 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 August 2006 - 11:04 AM

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.

Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#4 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 19 August 2006 - 11:15 AM

I don't get what you try to do.

#5 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 August 2006 - 11:19 AM

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.......
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#6 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 August 2006 - 11:26 AM

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.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#7 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 19 August 2006 - 11:33 AM

So you need help with mod_rewrite?

#8 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 August 2006 - 11:34 AM

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.
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#9 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 19 August 2006 - 11:59 AM

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
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#10 oldmanice

oldmanice
  • Members
  • PipPipPip
  • Advanced Member
  • 134 posts
  • LocationIn Your Garden At Night

Posted 04 September 2006 - 11:55 PM

Create a vhost
Join my Froums www.phpbbplanet.com/darkwinter

#11 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 05 September 2006 - 12:08 PM

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...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users