Jump to content

[SOLVED] Domain Masking Question


djcubez

Recommended Posts

Alright this is a fairly simple question.

 

I have web hosting for my current site, let's say for example sake www.shoes.com. That site is all well and fine. Now I want to start a new website called www.coats.com that is an entirely separate site, however I want to host it on the same web hosting. Basically, I have coats.com setup at shoes.com/coats, but instead I want it to say coats.com. I know masking works like that, however I want the links on the page to work in a way so that, when someone goes to coats.com and clicks on an internal link, let's say 'sports jackets', instead of it (the address/browser bar) saying "coats.com" or "shoes.com/coats/sportsjackets.html" it says "coats.com/sportsjackets.html."

 

I am aware that masking usually just uses a frameset as trick which is why the browser permanently says "coats.com." However, I was wondering if there any possible ways to do this, perhaps with mod_rewrite?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/168884-solved-domain-masking-question/
Share on other sites

haha...you're wanting to host two websites on the same account. BUY another hosting account!

Yea pretty much. It's not like it's expensive it was more or less a timeframe/business decision. It looks like we'll probably be buying another hosting account in the near future.

All your DNS supplier can do is point your A/CNAME records to the IP for the server.

The webserver (apache?) has to handle the interpretation of the HTTP request into pointing to a particular directory.

Hence you will have to tweak the virtual host config, which will require the cooperation of your current host.

Archived

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

×
×
  • Create New...

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.