Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Is it possible to use two domain names?


agiftcodotcom

Recommended Posts

I own two domain names (agiftco.com & americasgiftcompany.com) and I have them both pointed to the same DNS (ns5.accessglobe.net). So when you go to either agiftco.com or americasgiftcompany.com you will go to my site. Pretty standard I would think. But, in my configure file, I have it set as such...

 

define('HTTP_SERVER', 'http://www.agiftco.com');

define('HTTP_COOKIE_DOMAIN', 'http://www.agiftco.com');

[\code]

 

The problem is, if you go to americasgiftcompany.com, as soon as you click on a link, a product, a picture.... it turns to agiftco.com/......

 

I could change my configure to reflect americasgiftcompany.com, but then if people go to agiftco.com, it would again change as soon as they click a link.

 

Is there a way to make it so that while people are navigating my site, it will remain as the address they came to?

 

I hope this makes sense. It's not a real big deal, but I just think it would make people more comfortable to 'stay' on the site they 'came to'.

 

Any help is greatly appreciated.

Contributions I used : Updated 06-13-04 23:42

----------------

Vote on My Graphis Poll

Link to comment
Share on other sites

I think I know what you mean,I had the same problem once because I was only allowed 1 php file on my server. What I did to rectify it was to use a redirect link on my other sites straight to my /catalog.This keeps me in the same php file.

Link to comment
Share on other sites

  • 5 weeks later...
I own two domain names (agiftco.com & americasgiftcompany.com) and I have them both pointed to the same DNS (ns5.accessglobe.net). So when you go to either agiftco.com or americasgiftcompany.com you will go to my site. Pretty standard I would think. But, in my configure file, I have it set as such...

 

define('HTTP_SERVER', 'http://www.agiftco.com');

define('HTTP_COOKIE_DOMAIN', 'http://www.agiftco.com');

[\code]

 

The problem is, if you go to americasgiftcompany.com, as soon as you click on a link, a product, a picture.... it turns to agiftco.com/......

 

I could change my configure to reflect americasgiftcompany.com, but then if people go to agiftco.com, it would again change as soon as they click a link.

 

Is there a way to make it so that while people are navigating my site, it will remain as the address they came to?

 

I hope this makes sense. It's not a real big deal, but I just think it would make people more comfortable to 'stay' on the site they 'came to'.

 

Any help is greatly appreciated.

I'm keen to do this very thing, did you ever find a solution?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...