[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Can't login to Drupal site after domain change

Posted on 2014-03-10
6
Medium Priority
?
1,055 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

649 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