Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Multiple websites with unique URLs
 
Kara Heinrichs
Guru
 
Avatar
Total Posts:  482
Joined:  2008-01-17
aa, mi, us
 

Hosting and DNS issues are not my forte, but I’ve gotten to the point where I have to figure out a few things.  I’ve set up 2 websites on the same Magento installation with 2-3 store views each (yea), and now I’d like to make sure they each have their own domain name, not the base URL with a parameter (e.g. “www.company.co.uk” not “www.company.com/?store=uk").

Has anyone managed to get this working?  Is this something that is set in the “SystemConfiguration” area of the admin system or more a hosting/apache server configuration?  Both?  Neither?  Thoughts?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

in Admin > System > Configuration > Web - choose your website in left top corner and set both Secure and Unsecure Base URLs:

Unsecure
    Base URL
http://www.company.co.uk/

Secure
    Base URL
https://www.company.co.uk/

If you do not have SSL certificate installed yet, use http:// in both

 
Magento Community Magento Community
Magento Community
Magento Community
 
Kara Heinrichs
Guru
 
Avatar
Total Posts:  482
Joined:  2008-01-17
aa, mi, us
 

cool.  Will try.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dustin
Sr. Member
 
Total Posts:  160
Joined:  2008-03-13
Columbus, OH
 
Moshe - 02 March 2008 02:36 PM

in Admin > System > Configuration > Web - choose your website in left top corner and set both Secure and Unsecure Base URLs:

Unsecure
    Base URL
http://www.company.co.uk/

Secure
    Base URL
https://www.company.co.uk/

If you do not have SSL certificate installed yet, use http:// in both

I did this but this messes with styles, images and product images.

My product images are not displaying they are trying to pull from the images from the new domain.

How do I fix this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  721
Joined:  2008-03-21
Aviano ~ Italy
 

you must set also the address of the folder under design tab

http://www.company.co.uk/magento/skin/
http://www.company.co.uk/magento/js/
http://www.company.co.uk/magento/media/

for every store

etc

 
Magento Community Magento Community
Magento Community
Magento Community
 
Thejosh13
Sr. Member
 
Total Posts:  252
Joined:  2008-06-23
 

doesnt work

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top