Menu

Build a Joomla Website Forum

Free Joomla support for all and priority support for members.
  1. Richard Pearce
  2. General
  3. Thursday, November 03 2016, 02:52 PM
  4.  Subscribe via email
I received an email inquiry about this topic and I have decided to reply here. This is a common question and no one solution fits all situations. If you have a live site, how do you go about creating a new site without messing up that live site? The answer depends on your hosting account and your skill level.

If you have a single hosting account without any way to add a second, separate account, you can develop the site in a subfolder that is named something like 'new'. If your hosting allows, create a new database for the new site. If you can only use a single database, when you install Joomla, select a new prefix for the tables. When you're ready to go live, take a backup of the entire folder and the database(s). Delete everything from the hosting folder EXCEPT the 'new' folder. Move the files to the root hosting folder. Open configuration.php and change the path to the log and temp folders. Test, test, test and then you're up and running. Pros - doesn't require you to buy another hosting account. Cons - easy to stuff up if you're not careful.

If you can create a second hosting account using a sub-domain such as new.example.com then this is preferrable. There is no risk of losing files during your move or deleting the wrong thing. When ready, change your live domain to something like old.example.com. Then rename new.example.com to your live domain. Your host can help with this if necessary. Pros - harder to mess up. Cons - might cost depending on your host and sometimes the domain switching process can get messed up.

Finally you can develop offline by creating a local environment using XAMPP (Windows) or MAMP (Mac). When you're ready, take a backup of your local site using Akeeba Backup, delete your live site and restore your local site using Akeeba Kickstart. Pros - some developers find a local hosting environment provides a faster response and as such it is quicker to develop (not my experience). Cons - getting XAMPP setup can be a pain and you're not building in the same environment as your live server which can lead to unexpected results.

Feel free to reply if you need anything clarified.
Eion MacDonald Accepted Answer
0
Votes
Undo
Question 1. 1. I consider your responses reasonable, but there is alternative for small sites of a few pages, given here , reasonable? When doing say an upgrade of an existing site from Joomla! 2.5 to Joomla! 3.5?
2.0 Existing site Joomla 2.5.28 loaded via (Softaculous in CPanel).
[Take backup] However difficult to reinstall via Akeba Kickstart.
2.1 Delete existing CMS Joomla 2.5 in Softaculous.
2.2 Load Joomla! 3.5 or latest update from Softaculus
2.3 Rebuild site.
3. Reason for this would be due to difficulty to upgrade from 2.5 to 3.5.

4. Second question; Is it better to use the Softaculous upload of Joomla! to host (gets things right, at host) or to just upload the Joomla! files direct to host public HTML?
Comment
Whatever works best for your situation. As I read it, the original question relates to how to manage 2 active sites within one hosting account as opposed to the upgrade process.



In regards to Softaculous, this almost always works just fine and is a faster solution than the manual upload method. These days I do recommend using this if available from your host.
  1. Richard Pearce
  2. 3 years ago
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 1
Rick Lafferty Accepted Answer
0
Votes
Undo
Tremendously helpful, thank you!
  Three Rivers, CA 93271, USA
Visit 
Comment
There are no comments made yet.
  1. more than a month ago
  2. General
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Free Joomla TutorialLearn Joomla for free with our 16 lesson, 2 hour course.

Get Started