Solved

Can't login to Drupal site after domain change

Posted on 2014-03-10
6
973 Views
Last Modified: 2014-03-16
I have a Drupal site, which has not moved servers, but has changed domain names.  I cannot login, using either a login block or example.com/user.  I changed the cookie domain in settings.php (base url was never set, btw), cleared the cache and session tables, my browser cookies, and still...nothing.  

However, I can still login at the old domain.  

If it helps, the old domain was something like example.dreamhosters.com.  The new domain is something like example.org.  Nothing ever moved on the server end.  The only change that was made was that I redirected the new domain to point to the example.dreamhosters.com directory.  Any clues?
0
Comment
Question by:katwill
  • 4
  • 2
6 Comments
 
LVL 17

Expert Comment

by:nanharbison
ID: 39917293
Go into the main .htaccess file and find these lines, around lines 108-110
  # If your site is running in a VirtualDocumentRoot at http://example.com/,
  # uncomment the following line:
  # RewriteBase /
See what happens if you uncomment the last line.
 RewriteBase /
0
 
LVL 17

Expert Comment

by:nanharbison
ID: 39917296
I have set up Drupal on dreamhost several times, and have made the same change you have without any problem. If this suggestion above doesn't work, try contacting Dreamhost.
0
 

Author Comment

by:katwill
ID: 39917526
Tried your solution, to no avail. I've opened up a ticket with Dreamhost.  Thanks for trying, though.  And, if anyone else has any thoughts, I'm open!
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:katwill
ID: 39917806
What I got back from Dreamhost was completely unhelpful:

"Try the suggestions mentioned here and see if it helps:

https://drupal.org/node/92100

If it does not, try contacting Drupal and see if they can assist. If
there is anything else you need help with, please let me know! Thanks!
Have a great day!"

So, I am leaving this open, in the hopes that someone here might still have a solution.
0
 

Accepted Solution

by:
katwill earned 0 total points
ID: 39920507
I ended up having to move everything to a directory with the new domain name, and that fixed the issue.
0
 

Author Closing Comment

by:katwill
ID: 39932361
Not ideal, but it worked.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Content Filtering 1 to 1 Peer Review 1 97
knowledge base sharepoint 2013 4 79
Convert Parallax Site 8 120
YII framework installation error 5 227
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question