Image folder shared between multiple domains.

Reply

Join Date: Mar 2008
Posts: 4
Reputation: firthusa is an unknown quantity at this point 
Solved Threads: 0
firthusa firthusa is offline Offline
Newbie Poster

Image folder shared between multiple domains.

 
0
  #1
Mar 31st, 2008
I'm developing a ecommerce solution in PHP. The ADMIN is stored on one DNA while the stores are hosted on their own unique domains. My problem is that I need the images that are uploaded on the admin domain be available to the client domains without hot linking from the admin domain. I was hoping to do this using either Apache or some custom DNS setting. I am running CPANEL/WHM on the server.

I tried setting up a CNAME pointing "images.storedomain.com" to "admindomain.com" but it does not work. I need each store to be able to pull the images from a url similiar to this: "images.storedomain.com/images/image_name.jpg" and that way I can upload images in one place but have it availble to multiple domains.

Any ideas on how to do this would be greatly appreciated.

Thanks, Nathan -
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 154
Reputation: Suomedia is an unknown quantity at this point 
Solved Threads: 19
Suomedia Suomedia is offline Offline
Junior Poster

Re: Image folder shared between multiple domains.

 
0
  #2
Mar 31st, 2008
Why are you creating an e-commerce application when there are open source ones available (including multiple stores . I know at least two)?


Matti Ressler
Suomedia
Last edited by Suomedia; Mar 31st, 2008 at 11:46 pm.
If you want your dreams to come true, the first thing you must do is to wake up....
Suomedia - Dynamic Content Management
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 561
Reputation: ryan_vietnow is an unknown quantity at this point 
Solved Threads: 71
ryan_vietnow's Avatar
ryan_vietnow ryan_vietnow is offline Offline
Posting Pro

Re: Image folder shared between multiple domains.

 
0
  #3
Mar 31st, 2008
Maybe she just want to create an application by herself and wants to know the processes intensively.And some e-commerce application lacks features needed by the client.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 154
Reputation: Suomedia is an unknown quantity at this point 
Solved Threads: 19
Suomedia Suomedia is offline Offline
Junior Poster

Re: Image folder shared between multiple domains.

 
0
  #4
Apr 1st, 2008
Originally Posted by ryan_vietnow View Post
Maybe she just want to create an application by herself and wants to know the processes intensively.And some e-commerce application lacks features needed by the client.

Maybe she can answer all by herself also
If you want your dreams to come true, the first thing you must do is to wake up....
Suomedia - Dynamic Content Management
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 4
Reputation: firthusa is an unknown quantity at this point 
Solved Threads: 0
firthusa firthusa is offline Offline
Newbie Poster

Re: Image folder shared between multiple domains.

 
0
  #5
Apr 1st, 2008
As to why I would develop another ecommerce site when there are so many? Well the answer is simple... "a jack of all trades is a master of none" in ecommerce it is impossible to create a system that works for all applications, and the ones that do become to complicated for the majority of users. I create industry specific solutions that cater to the needs of that industry without needing to bog it down with useless features.

I appreciate all the replys but no one even attempted to answer the question.

How do I setup a shared image folder that can be access across multiple sites??? I know it's possible because I have seen similiar things done... I just figure out how to do.

And lastly... as my name would suggest; I am not a "she".

Thanks, Nathan -
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 154
Reputation: Suomedia is an unknown quantity at this point 
Solved Threads: 19
Suomedia Suomedia is offline Offline
Junior Poster

Re: Image folder shared between multiple domains.

 
0
  #6
Apr 1st, 2008
You would need the domains hosted on the same server and serve the images using a proxy. (needs root access). Not my forte so you will need to Google it if nobody else has a solid answer.


Matti Ressler
Suomedia
If you want your dreams to come true, the first thing you must do is to wake up....
Suomedia - Dynamic Content Management
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC