Reputation: 189
Please think about we have 2 site.
site1.com and site2.com
i want to upload my magento files to site1.com on my server.. but want to use it with http://shop.site2.com domain (which is in another server)
I must install ssl certificate to all sites; its ok.
But.. How will i direct shop.site2.com to site1.com
I don't want anyone see site1.com's domain name, on http://shop.site2.com's any shopping steps
Can i do it with htaccess?
Upvotes: 0
Views: 67
Reputation: 373
Do you need site1.com domain at all?
You can create a DNS A record for shop.site2.com that points to site1.com server IP.
You need magento only on server1.
If you are using https only for shop subdomain, you need a ssl certificate only on server1
Upvotes: 0
Reputation: 388
You can have a database stored/xml files/any sort of data-storage system, and access data from that domain. .htaccess files will probably not work for what you need, because then people could steal data from other domains and sites using just .htaccess. .htaccess files are used to tell the server (seems like Apache in your case) where to redirect the browser and how to define file extensions etc.
Upvotes: 0