Forum Moderators: mack

Message Too Old, No Replies

Domain Alias and/or Forwarding

         

geoapa

8:54 pm on May 29, 2003 (gmt 0)

10+ Year Member



Greetings,

I'm a newbie here. Great forums!

Here's my situation. I currently have a web host with a domain name of foo.com If I wanted just another domain name but not another host, can I register another domain and somehow have it pointing to a certain directory on foo.com?

For example. If I wanted another domain name of fooballs.com, I know I can order domain name forwarding and forward fooballs.com to any domain. But I want fooballs.com to point to foo.com/somedirectory and have fooballs.com still appear in the address bar.

Can this be done?

foo.com/somedirectory = foo.com
therefore
foo.com/somedirectory/images = foo.com/images
and so on...

JamesR

9:19 pm on May 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can do that via .htaccess once you get the site up and running. Just do something like a 301 redirect or whatever from the entire site and redirect it to that directory.

geoapa

2:19 am on May 30, 2003 (gmt 0)

10+ Year Member



But my point is that I don't want to set up a host for fooballs.com. Don't I need one to upload the .htaccess file?

I have a site up and running now (example:foo.com) but I want other specific domain names to essentially mirror foo.com.

So if I registered new domain names (like fooballs.com or foogizmos.com) and not order a host for each of them, is there a way to have each one mirror foo.com

So if someone types in fooballs.com, the browser would display the index.html of foo.com but keep fooballs.com in the address bar. Then say if a visitor clicks on a relative link on the site say for contact.html, the page would display foo.com/contact.html but keep the url in the address bar as fooballs.com/contact.html

I hope that makes sense.

JamesR

5:38 pm on May 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you want fooballs.com to appear in the address bar you have to have it hosted. It sounds like you could do this with invisibile frames also.

jtsoos

3:40 pm on Jun 4, 2003 (gmt 0)

10+ Year Member



James R.
Hello I have tried to accomplish what geoapa is wanting to do . I tried to use invisible frames but the subdirectory's name was still showing up. Did I do somehting wrong? Maybe you can type a little tut up?

Thanks . JTsoos