djcubez Posted August 5, 2009 Share Posted August 5, 2009 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 More sharing options...
dadamssg Posted August 5, 2009 Share Posted August 5, 2009 haha...you're wanting to host two websites on the same account. BUY another hosting account! Link to comment https://forums.phpfreaks.com/topic/168884-solved-domain-masking-question/#findComment-891065 Share on other sites More sharing options...
landysaccount Posted August 5, 2009 Share Posted August 5, 2009 Look into Virtual Hosting. Link to comment https://forums.phpfreaks.com/topic/168884-solved-domain-masking-question/#findComment-891067 Share on other sites More sharing options...
djcubez Posted August 5, 2009 Author Share Posted August 5, 2009 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. Link to comment https://forums.phpfreaks.com/topic/168884-solved-domain-masking-question/#findComment-891132 Share on other sites More sharing options...
trq Posted August 5, 2009 Share Posted August 5, 2009 You might be able to point another domain at your current host, ask them. Link to comment https://forums.phpfreaks.com/topic/168884-solved-domain-masking-question/#findComment-891133 Share on other sites More sharing options...
aschk Posted August 5, 2009 Share Posted August 5, 2009 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. Link to comment https://forums.phpfreaks.com/topic/168884-solved-domain-masking-question/#findComment-891167 Share on other sites More sharing options...
djcubez Posted August 5, 2009 Author Share Posted August 5, 2009 You might be able to point another domain at your current host, ask them. Exactly what I did. Thanks for all your responses. Link to comment https://forums.phpfreaks.com/topic/168884-solved-domain-masking-question/#findComment-891704 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.