multiple-domains

Multiple domains pointing to the same folder

Hello, I am currently running two websites. I am able to add my domains and set the root folder to / instead of /domain1.com and /domain2.com. That way both websites go to the same folder, however they both maintain their domain names (no redirects). My code determines whether the user is from domain1.com or domain2.com and displays the...

Two domains, one site, one SSL checkout. How to get cookies?

Hi, There is a multilingual web shop, visitors can access from two domains, with different language: hxxp://x.com - English hxxp://x.ru - Russian, which is an add-on domain to x.com. The authentication and cart pages are here, through SSL: https://x.com/index.php?mode=login How can I use the cookie informations of x.ru on hxxps://x.co...

Postfix as null client for multiple domains

How do I setup postfix as a null client for two domains on the same host? I currently have postifx setup as a null client for one of the domains (complete with SPF records). How do I add one more domain to the setup? And after adding the domain, how do I make PHP mail() send out email appropriately from the corresponding domains/IP addre...

Ruby Rack & Multiple Internet Domains

I am having two domains running each a separate web application that should be served by one server i.e. one ip address. Depending on the request the proper application should be selected by some rack middleware. Is there already one out or do I have to write my own? (Writing my own wouldn't be a problem but if I could use an existing on...

multiple domain session handling in servlets

I need to share sessions between multiple domains. By multiple domain I mean, I have one instance of tomcat6 running. And I can access my webapp using urls localhost:8080/webapp/test.jsp and myhostname:8080/webapp/test.jsp (as I configured dns entry in hosts file) Now, The javascript fires ajax calls to localhost:8080/webapp/ActionA ...

serving different content based on the domain in codeigniter

I'm going to develop a website in codeigniter. But not sure if the methor i'm going to use is the best approach. There will be many addon domains for the same site. But content will be filtered based on the domain used to visit the site. For Example If a user comes from the domain siteusa.com then the content will be shown filtered a...