Publishing test site? Topic is solved

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
SocketPup
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 130
Joined: Thu Mar 14, 2024 7:00 am

Publishing test site?

Post by SocketPup » Fri May 03, 2024 4:09 am

I'd like to test my project online before actual publication (I am on localhost atm).
What are my options here, and what is the best way? I do have access to the webhost where the final project is meant to be. I once saw a thread on here where someone suggested you could publish the test-version of the project in a sub-folder of that domain, but then someone else argued against it, claiming it could potentially cause issues once it was time to publish the final version.

Otherwise, is it possible to publish directly on Joomla, just during the test-phase?

gws
Joomla! Champion
Joomla! Champion
Posts: 6014
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Publishing test site?

Post by gws » Fri May 03, 2024 9:36 am

You could use the "site offline function" in global config, this way only logged in users can see the site.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9837
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Publishing test site?

Post by AMurray » Fri May 03, 2024 9:44 am

You could create a subdomain e.g. test.yoursite.com linked to a sub-folder on your hosting e.g. https://yoursite.com/test would link to https://test.yoursite.com.

You could also set the site "offline" (front-end), and that way, the public can't access it - all they will see is "This site is offline".

You would log on, e.g. using your superuser credentials (or perhaps create a temporary front-end type user, and set the permission appropriately so that login will work from the offline login form.

For moving the site from local to web host, follow these instructions: https://docs.joomla.org/Copying_a_Joomla_website
Regards - A Murray
General Support Moderator

SocketPup
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 130
Joined: Thu Mar 14, 2024 7:00 am

Re: Publishing test site?

Post by SocketPup » Fri May 03, 2024 11:00 am

AMurray wrote:
Fri May 03, 2024 9:44 am
You could create a subdomain e.g. test.yoursite.com linked to a sub-folder on your hosting e.g. https://yoursite.com/test would link to https://test.yoursite.com.

You could also set the site "offline" (front-end), and that way, the public can't access it - all they will see is "This site is offline".

You would log on, e.g. using your superuser credentials (or perhaps create a temporary front-end type user, and set the permission appropriately so that login will work from the offline login form.

For moving the site from local to web host, follow these instructions: https://docs.joomla.org/Copying_a_Joomla_website
Yeah, I'd figure I'd use Akeeba to upload my project, like I did when switching from Xampp to Wamp.
The subdomain solution sounds good. But once I am ready to publish it, how do I take it from there? Do I just move all the files up to the main domain, or will that cause issues?

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9837
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Publishing test site?

Post by AMurray » Fri May 03, 2024 10:47 pm

Use Akeeba, even to move the site files between folders on the same server/web hosting account. I would expect the only thing to note would be the path to /tmp or /cache might change, but within Akeeba Kickstart, you have the opportunity to update that in Kickstarts ANGIE installer when restoring the site.

Or you can do so manually, drag/drop the Joomla system files between one file and another, or cut/paste. Your 'file manager' in cPanel (or equivalent) should have a 'move files' function.

If you move the files manually, and if you need to do so, you can update the file paths of /cache or /tmp within the configuration.php file.
Regards - A Murray
General Support Moderator

SocketPup
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 130
Joined: Thu Mar 14, 2024 7:00 am

Re: Publishing test site?

Post by SocketPup » Sat May 04, 2024 11:05 am

AMurray wrote:
Fri May 03, 2024 10:47 pm
Use Akeeba, even to move the site files between folders on the same server/web hosting account. I would expect the only thing to note would be the path to /tmp or /cache might change, but within Akeeba Kickstart, you have the opportunity to update that in Kickstarts ANGIE installer when restoring the site.

Or you can do so manually, drag/drop the Joomla system files between one file and another, or cut/paste. Your 'file manager' in cPanel (or equivalent) should have a 'move files' function.

If you move the files manually, and if you need to do so, you can update the file paths of /cache or /tmp within the configuration.php file.
So when you say move the site files between folders using Akeeba, is there a move-file-feature in Akeeba, or do I do it like when I moved my project from Xampp to Wamp (creating a backup file, delete the project from its current folder, then use kickstart.php to install it at the root instead)?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44136
Joined: Sat Apr 05, 2008 9:58 pm

Re: Publishing test site?

Post by Webdongle » Sat May 04, 2024 11:15 am

Depending on your hosting.
1. If you have your main site in \www then create a \test01 folder in \www
2. In dns settings point your Domain to the \www\test01 folder
3. \www\test01 folder will then be your site root
4. Put the .jpa and kickstart.php in the \www\test01 folder.
4. Point your Browser at yourdomain.com and install your test site
You can always point the Domain back to the original folder.

If your hosting doesn't allow that then use a subdomain but that can confuse paths.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

SocketPup
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 130
Joined: Thu Mar 14, 2024 7:00 am

Re: Publishing test site?

Post by SocketPup » Wed May 08, 2024 8:19 am

Webdongle wrote:
Sat May 04, 2024 11:15 am
Depending on your hosting.
1. If you have your main site in \www then create a \test01 folder in \www
2. In dns settings point your Domain to the \www\test01 folder
3. \www\test01 folder will then be your site root
4. Put the .jpa and kickstart.php in the \www\test01 folder.
4. Point your Browser at yourdomain.com and install your test site
You can always point the Domain back to the original folder.

If your hosting doesn't allow that then use a subdomain but that can confuse paths.
Thanks, I have done steps 1-4. However, I was in touch with my webhost, and they weren't familiar with Akeeba, so I didn't get any good answers from them. My concern is in regards to the Kickstart, where I am supposed to enter the Connection info (database type, server host name, un, pw, dbname, db table name.)
What information from my webhost should I provide here?
The support I talked with told me it wasn't certain the db inside my .jpa would be created doing it this way, instead he suggested I should export the db from phpMyAdmin and upload it. Would this cause issues with the Akeeba extraction process?

Not sure which way I should pursue here in order to get my project online properly...

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9837
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Publishing test site?

Post by AMurray » Wed May 08, 2024 9:45 am

Kickstart unpacks the archive, then runs its own installer (ANGIE). It is similar to the normal Joomla installer, and will ask for the database details as normal.

Create the database first, so you have an empty database, then when Kickstart prompts for the information enter the info for that new database.
Regards - A Murray
General Support Moderator

SocketPup
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 130
Joined: Thu Mar 14, 2024 7:00 am

Re: Publishing test site?

Post by SocketPup » Wed May 08, 2024 3:55 pm

AMurray wrote:
Wed May 08, 2024 9:45 am
Kickstart unpacks the archive, then runs its own installer (ANGIE). It is similar to the normal Joomla installer, and will ask for the database details as normal.

Create the database first, so you have an empty database, then when Kickstart prompts for the information enter the info for that new database.
Thanks, the process worked out nicely =)


Post Reply

Return to “General Questions/New to Joomla! 5.x”