I installed Drupal 6.6 and put on the Domain Access module. In the configuration page for Domain Access I screwed something up because now I can't get my site back up.

I get this error from Google Chrome:

This webpage has a redirect loop.

The webpage at http://example.biz/ has resulted in too many redirects. Clearing your cookies for this site may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

Here are some suggestions:
Reload this web page later.
More information on this error
Below is the original error message

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

I did some researching and from prior threads here it looked like the www was redirecting in a loop. So I went into MySQL and tried changing the values of a few things in the "variable" rows, but nothing worked.

I also discovered that this problem happens on shared IPs, so I just upgraded last night to a dedicated IP. I removed a few variable rows and think I have screwed up my database, so my host is going to roll this back to the version I had 2 days ago (hopefully).

In the meantime, here are a few screenshots of my server control panel. What should I change to get this to work properly? Is everything here configured the right way?

http://www.sunshinelocksmith.com/images/deleteable/Untitled-1.jpg

http://www.sunshinelocksmith.com/images/deleteable/Untitled-2.jpg

http://www.sunshinelocksmith.com/images/deleteable/Untitled-3.jpg

http://www.sunshinelocksmith.com/images/deleteable/Untitled-4.jpg

http://www.sunshinelocksmith.com/images/deleteable/Untitled-5.jpg

http://www.sunshinelocksmith.com/images/deleteable/Untitled-6.jpg

Comments

ludo1960’s picture

Hello,

I too have had issues in installing the Domain access module, successful now!
Did you add the lines to your settings.php that the module requires? And enable wildcard DNS?

Just a thought.

sunshinelock’s picture

Yes, I did the 3 changes to the settings file for the 3 domain modules.

I didn't do anything specific to my wildcard DNS because as you see from http://www.sunshinelocksmith.com/images/deleteable/Untitled-6.jpg it looks like my Built in A records do this already. Do they? Do I need to change something in these settings here?

ludo1960’s picture

Depending on your setup you need to tell Apache about it.
In the apache.conf file find the Virtual Hosts section and add ServerAlias *.mysite.biz
Re-start apache and you should be good to go.

Good Luck!

sunshinelock’s picture

Hmm... I went into my Domain Settings though Control Panel and I tried doing this. It tells me I cannot add a non-alphanumeric character to the Server Alias. I'm contacting the technical support center that my domain is hosted through. Hopefully they can add that line.

ludo1960’s picture

You sure you have a VPS? You should be able to do this if you have.

Let me know how it goes...

ludo1960’s picture

It's nothing to do with domain settings, its the apache configuration you must alter..

aufumy’s picture

I had the same problem, and the issue is if global $db_url is empty then there is a go to install.php.

So, make sure the include line of settings.inc is placed after the $db_url line on settings.php

agentrickard’s picture

The settings include should go at the _end_ of settings.php.

Support request should be filed in the module issue queue.

--
http://ken.therickards.com