Setting the http in the address bar???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Setting the http in the address bar???

Post by JellyFish »

I really need to know how to make the http or current page address costumizable, for my website. For example say my sites name it http://www.yahoo.com and I want it to appear as http://www.nothingwhatsoever.com in the address bar. How would I do this?

Thank you and all help is appreciated.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Domain level redirection. This is a DNS change, not PHP.
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Post by JellyFish »

Thanks for your reply feyd. :) How would I accomplish domain level redirection?
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

You need to own both domains you're going to do this with I'd assume, then you just set it up in your registrar's control panel (unless you're doing it yourself with BIND)
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Post by JellyFish »

I'd more or less use nothing to replace my http and trust me I'm using this for a moral reason, so to speek. I'm not trying to spoof a site like yahoo or anything to it's kind.

How would I accomplish these things manualy using some form of language?
Post Reply