Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 967487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T02:19:30+00:00 2026-05-16T02:19:30+00:00

I have a new client that I am converting over to Drupal from WordPress.

  • 0

I have a new client that I am converting over to Drupal from WordPress. We have two domains with the same name but different TLDs i.e. .com & .org. We have decided to start by setting up the site first under the .com so we have a live site to play with during the development.

So we currently have a wordpress site running on the .org and drupal (on a new host) running on the .com domain.

So two questions:

  1. Can and How do you configure Drupal to work for both the .com and the .org ?
  2. Can and How do you change the base domain drupal is configured with after the site is live ?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T02:19:31+00:00Added an answer on May 16, 2026 at 2:19 am

    If you aren’t using Drupal’s multisite system (that is, the site information is being put into sites/default instead of sites/example.org or sites/example.com), this is really easy: do nothing. There is no step 2. Drupal will handle any domain thrown at it: just use your web server’s name-based handling to determine which domains to accept.

    If you are using Drupal’s multisite system, it’s a little harder:

    1. Rename the sites folder (so from sites/example.com to sites/example.org).
    2. Drupal’s files table hardcodes the files directory it uses, so you’re going to need to change all the paths in it. Run UPDATE files SET filepath = REPLACE(filepath,'example.org','example.com') on the database.
    3. The other place to change the path is under Site Configuration -> File system.
    4. The final place you’re going to need to change paths is going to be on the settings page for your theme if you decided to use a custom logo or favicon.
    5. Once you’ve changed all the paths, rebuild the cache under Site Configuration -> Performance.

    This should cover most cases. Check with the third-party modules you’re using to see if they also hardcode filepaths. If the modules are using the API correctly, they should’ve been handled in steps 2 and 3.

    Because of all the hardcoded file paths, I highly recommend not using multisite unless you really need to. If you are only running one site in a Drupal install, just stick the site in sites/default.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically I have a new client that is after the following functionality from her
We have a new client that we will be hosting content for. The client
I have a date at client side, I am converting that date to millisecond
How can I detect that a client has disconnected from my server? I have
I'm developing a new client-server app (.Net) and have up until now been using
I have never developed for WAMP, the hosting guy for my new client says
I have a freelance web application project where the client requests new features every
Given client = new XMemcachedClient(server, port); What happens if I have several thread doing
I have a try catch and finally block like this. Client client = new
I have code for sending email to clients. System.Net.Mail.SmtpClient Client = new System.Net.Mail.SmtpClient(); MailMessage

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.