Same server, same db, same drupal installation different domain!

This project was awarded to lukeyan for €113 EUR.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
€30 - €120 EUR
Total Bids
Project Description

I'm developing a website width domain access and Drupal 7.
I've hosted all the website in ONE single webserver with a SINGLE MySQL db, so basically i have a simple drupal installation on a server.

The problem is that there are a couple of PRIMARY domains pointing to this server, so if i go to [url removed, login to view] or to [url removed, login to view] I'll see the same website(same drupal, same server, same db).

My problem is that i need that when a user log in into one domain it must be logged in also in the others, because nowaday if i log in into [url removed, login to view] i wont be authenticated into the

It's just a cookie stuff but i have to solve it, i cant use external modules like CAS and other modules that provide this function ONLY on SUB DOMAINS and not on PRIMARY.

A good point maybe wold be to use AJAX/CURL for sending the request for setting the cookie for different domains such as [url removed, login to view]

Or also use HTML5 Web Storage for storing the information and then accessing the information from different domains is possible as STACKOVERFLOW does.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online