Re: MultiSite Module Support Thread
And again such a fast response. I can't thank you enough!
Unfortunately, I don't know anything about dns and A records, just heard of it. :(
But isn't there any other way to do this? Like some kind of htaccess redirection or something like that?
And btw, just to be on the safe side - i did create site2 subdomain but don't have ANY files on it. Is that OK?
Re: MultiSite Module Support Thread
Who is doing your hosting?
Re: MultiSite Module Support Thread
I'm using a shared server from a company in Croatia (where i'm from) and i'm using a domain that is free in my country for companies and it is supervised by another company.
just add a dot between the 4th and 5th letter of my nick and you know my domain... :smile:
Now i've set up a subdomain called webshop and fotografija. The first one is now working ok, but the second one is giving me a headache.
Re: MultiSite Module Support Thread
When you get a domain there has to be nameservers for the domain. If the name is purchased at one place and hosted at another then usually the hosting company handles the nameservers. When a name is registered (can be changed later) you assign nameservers.
Strangely the IP for your site appears to be in the US. You will need to contact your hosting company to get them to add the A records or show you how to do it if they have a user accessable control panel.
PS... Typing fast.. excuse spelling..
Re: MultiSite Module Support Thread
Oh, yes, i forgot, it's a company from croatia, but i chose a cheaper hosting option so it's hosted on a server in new york (i think it's NY, USA anyway).
I did get some info on the nameservers, but i didn't use it nor needed it. I specifically wanted .hr domain cause it's reserved for companies in croatia (you can't buy it) so customers feel safer when visiting those domains (and i work local only).
OK, I will contact them tomorrow morning. Just one more thing - what do i tell them? :smile: I want webshop.ba... to be default, fotografija.ba... will be the second shop. My root will be something else, a third site with links to the two shops.
Re: MultiSite Module Support Thread
Just tell them to create two A records..
One for webshop
One for fotografija
You want the two records to be the same as the www A record.
Re: MultiSite Module Support Thread
As simple as that? :frusty:
OK, will do it first thing tomorrow morning. And i'll be buck with the results.
Re: MultiSite Module Support Thread
sorry, pls delete this post, I posted to wrong topic :)
Re: MultiSite Module Support Thread
OK, my host did what i asked (btw, extremely pleasant :smile:) and they sent me a screenshot of my subdomain A record and they are all the same.
But, my fotografija.ba... doesn't open zencart, it just lists the fotografija folder content (which is empty). What could be the problem? I double checked my config_sites folder on webshop folder - it contains fotografija.ba..._config.php and the content is
Code:
<?php
$template_dir = "basic";
define('SITE_NAME','site2');
define('HTTP_SERVER', 'http://fotografija.ba...');
define('STORE_NAME','BA.. print & foto'); //Store Name
define('MAX_DISPLAY_CATEGORIES_PER_ROW','1'); //Categories To List Per Row
?>
I guess that's correct.
What could be the problem, why isn't my fotografija.ba... site opening zencart? Did I miss anything?
Re: MultiSite Module Support Thread
Quote:
Originally Posted by
balihr
Can this module be used for two shops on the same domain?
I have
www.mydomain.com/shop1 and
www.mydomain.com/shop2 and want to share customer details between the two shops. Basically, i don't want for customers who have already registered on shop1 to have to go through the whole registration process again on shop2.
I made a few changes that allow the multisite module to support sub-folders as well as sub-domains. It works on my site but it has not been fully tested if someone wants to test it out you can find the details here http://www.zen-cart.com/forum/showthread.php?t=141009