Joomla with Apache Virtual Hosts Topic is solved

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

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
Post Reply
mboyaci
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Apr 09, 2020 9:15 pm

Joomla with Apache Virtual Hosts

Post by mboyaci » Fri Apr 10, 2020 6:56 am

Hello,

We just set up an Ubuntu LTS 18.04 server with Apache 2.4.29, Joomla 3.9.16 and PHP 7.2.24.

Joomla is installed in the /var/www/html directory but we have setup several virtual hosts in Apache (each in its /var/www/name directory and we want to use Joomla with at least some of these hosts.

Is this possible and if so how do I configure Apache and Joomla for this?

Thanks in advance for any assistance.

Mehmet Boyaci

 
User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 12361
Joined: Thu Feb 15, 2007 5:48 am
Location: Suzhou, China

Re: Joomla with Apache Virtual Hosts

Post by toivo » Fri Apr 10, 2020 9:00 am

Welcome to the forum!

Joomla does not know which web server it has been installed under. If you have already set up the name-based virtual hosts, copy the files from the original Joomla installation package to each document root and browse to each domain or subdomain to install them individually.

Ref. https://httpd.apache.org/docs/2.4/vhost ... based.html

If the web server is hosted in a test environment inside an intranet and not in the public internet, it is possible to use dummy domain names if you have your own domain server or those domain names are added to the hosts file of each workstation, linking them to the IP address of the web server.
Toivo Talikka, Global Moderator

mboyaci
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Apr 09, 2020 9:15 pm

Re: Joomla with Apache Virtual Hosts

Post by mboyaci » Fri Apr 10, 2020 11:17 am

Thank you for the prompt reply. I tried your suggestion and it works.

 

Post Reply

Return to “Installation Joomla! 3.x”