İnstalling Joomla 5 on a server where a Joomla site is already installed Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Mar 09, 2023 1:11 pm
İnstalling Joomla 5 on a server where a Joomla site is already installed
Hi everyone,
I am trying to install a new Joomla site on a server where an other Joomla site is already installed. I am using Ubuntu OS and Apache2 server. The already installed Joomla site's version is 4.x . I am trying to install a new site with Joomla 5.x. I downloaded Joomla 5.0.2 Full Package and then unzipped it on to a directory (/var/www/newjs). I created a database table for this site. And then i followed this steps:
1)- cp /var/www/newjs/htaccess.txt /var/www/newjs/.htaccess
2)- chown -R www-data.www-data /var/www/newjs
3)- chmod -R 755 /var/www/newjs
4)- systemctl restart apache2
After those steps, when i tried to reach joomla installer via browser i got an error message: The requested URL was not found on this server.
İ did some research and the solution i found was to write a virtual host i did that but it didn't work. I also enabled sites with a2ensite command. That didn't help either.
Is this error caused by setting up two Joomla sites on the same server? Is it possible to install two Joomla sites on the same server? Or am i doing something wrong while installing joomla?
I would be very happy if you can help
I am trying to install a new Joomla site on a server where an other Joomla site is already installed. I am using Ubuntu OS and Apache2 server. The already installed Joomla site's version is 4.x . I am trying to install a new site with Joomla 5.x. I downloaded Joomla 5.0.2 Full Package and then unzipped it on to a directory (/var/www/newjs). I created a database table for this site. And then i followed this steps:
1)- cp /var/www/newjs/htaccess.txt /var/www/newjs/.htaccess
2)- chown -R www-data.www-data /var/www/newjs
3)- chmod -R 755 /var/www/newjs
4)- systemctl restart apache2
After those steps, when i tried to reach joomla installer via browser i got an error message: The requested URL was not found on this server.
İ did some research and the solution i found was to write a virtual host i did that but it didn't work. I also enabled sites with a2ensite command. That didn't help either.
Is this error caused by setting up two Joomla sites on the same server? Is it possible to install two Joomla sites on the same server? Or am i doing something wrong while installing joomla?
I would be very happy if you can help
- toivo
- Joomla! Master
- Posts: 17510
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
A web server can host any number of Joomla sites, as long as the virtual hosts have been configured correctly.
All one has to do for the installer to start is to point the browser to the domain. The configuration of the virtual host associates the domain name with a physical folder, the document root of the website, where the file index.php starts the installation script.
Toivo Talikka, Global Moderator
- ceford
- Joomla! Hero
- Posts: 2762
- Joined: Mon Feb 24, 2014 10:38 pm
- Location: Edinburgh, Scotland
- Contact:
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
What sort of hosting service? cPanel or something else? Local computer or something else? You might find this article helpful: https://jdocmanual.org/jdocmanual?manua ... n-linux.md [caveat: my site, my article].
- Webdongle
- Joomla! Master
- Posts: 44150
- Joined: Sat Apr 05, 2008 9:58 pm
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Mar 09, 2023 1:11 pm
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
İt is a local computer.ceford wrote: ↑Sat Feb 10, 2024 9:59 amWhat sort of hosting service? cPanel or something else? Local computer or something else? You might find this article helpful: https://jdocmanual.org/jdocmanual?manua ... n-linux.md [caveat: my site, my article].
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Mar 09, 2023 1:11 pm
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
I do exactly as you say. i don't have a URL yet and i use ip address of my server. For example if ip address of my server was 199.999.9.99 i use this to get to the installation page: http://199.999.9.99/newjstoivo wrote: ↑Fri Feb 09, 2024 10:46 pmA web server can host any number of Joomla sites, as long as the virtual hosts have been configured correctly.
All one has to do for the installer to start is to point the browser to the domain. The configuration of the virtual host associates the domain name with a physical folder, the document root of the website, where the file index.php starts the installation script.
But it gives an 404 page not found error.
- ceford
- Joomla! Hero
- Posts: 2762
- Joined: Mon Feb 24, 2014 10:38 pm
- Location: Edinburgh, Scotland
- Contact:
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
Try
and read the article I quoted.
Code: Select all
http://localhost/newjs
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Mar 09, 2023 1:11 pm
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
Thank you for your help and advice. I've managed to access the setup page of the website. However, I can only access it from the computer where I installed it. After obtaining a valid URL address for the site, can I access it globally? I followed the virtual host steps mentioned in the article you referred to and wrote accordingly. Additionally, I made changes in the /etc/hosts section as described in the article. Will I need to make any changes to these configurations after obtaining a URL to access the site globally?ceford wrote: ↑Mon Feb 12, 2024 9:33 amTry
and read the article I quoted.Code: Select all
http://localhost/newjs
- ceford
- Joomla! Hero
- Posts: 2762
- Joined: Mon Feb 24, 2014 10:38 pm
- Location: Edinburgh, Scotland
- Contact:
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
You said that you have a local computer. Allowing access to that from the internet is a risky business. It can be done but I can't tell you how to do it. I recommend you pay for a shared hosting account for your public site and only use your local computer for testing. You can even get a free Joomla site - try this article: https://docs.joomla.org/How_to_build_yo ... la_Website
- Webdongle
- Joomla! Master
- Posts: 44150
- Joined: Sat Apr 05, 2008 9:58 pm
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
What are you using on your pc as localhost?
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Mar 09, 2023 1:11 pm
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
I am getting an hosting service from a company called Alastyr and already have domain names that are free to use. But i want to keep the folders of the site in local server. I have a Ubuntu OS and apache2 server installed on the localhost.
- Webdongle
- Joomla! Master
- Posts: 44150
- Joined: Sat Apr 05, 2008 9:58 pm
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
https://docs.joomla.org/Installing_Joom ... bian_Linux may help its old but relevant because of Ubuntu Ownership on your pc
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".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Mar 09, 2023 1:11 pm
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
Thank you, i will check thisWebdongle wrote: ↑Tue Feb 13, 2024 10:23 amhttps://docs.joomla.org/Installing_Joom ... bian_Linux may help its old but relevant because of Ubuntu Ownership on your pc
- eorisis
- Joomla! Apprentice
- Posts: 46
- Joined: Sun Jul 21, 2013 5:18 pm
- Location: Thessaloniki Greece
- Contact:
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
You can install a control panel on your local linux, to have all the things you need such as DNS and multiple websites without having to edit /etc/hosts every time. There are some free solutions you can check. I'd recommend to do that with a dedicated local server, otherwise it will always mess with the rest of the system if it's a desktop.
EDIT: For development purposes.
EDIT: For development purposes.
Joomla & WordPress development. We empower businesses worldwide with open-source technology.
https://eorisis.com
Sitewide JavaScript & StyleSheet Management:
https://eorisis.com/applications/elements
https://eorisis.com
Sitewide JavaScript & StyleSheet Management:
https://eorisis.com/applications/elements
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Mar 09, 2023 1:11 pm
Re: İnstalling Joomla 5 on a server where a Joomla site is already installed
Thank you for all the help and support. I managed to publish the site.