In this tutorial we will show you how to change your Joomla! domain name. For example you may have your Joomla! website on, and want to change it to 

Changing Your Domain Name:

  1. Locate the configuration.php file, it is in the Joomla! root folder.
  2. Then using a file editor such as File manager, or FileZilla, locate the following line of code:

    public $live_site = '';

  3. Enter the new domain name in place of the, then save the code.

    It should look like this:

    public $live_site = '';

    Your website will now be configured to load with the new domain name.

    Congratulations, now you know how to change your domain name in Joomla!


Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?


n/a Points
2014-04-22 5:39 pm

Hi John,

Thanks for your discription , my question is that in this way all my old emails will be lost and also my contact form will not send the new emails to my new domain !Would you please help me about these too ?

Thank you so much

12,339 Points
2014-04-22 6:36 pm
Hello Samira,

Thank you for your comment. You will have to update any email forms to reflect the new domain's email settings.

Also, your emails shouldn't be lost unless you delete them with an email program.

If you have any further questions, feel free to post them below.
Thank you,


Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.