A
A
alex_til2017-06-07 15:02:31
Nginx
alex_til, 2017-06-07 15:02:31

How to set up apache + nginx, attach a domain and install joomla?

We were given the task to build the apache + nginx web server, then attach the domain to the container, install joomla, in the end, you need to open joomla by the domain name. At the beginning, I just set up LAMP, but nginx did not start, they asked me to configure it in conjunction, I configured it, set apache to port 8080 and nginx to 80, as a result, Apache and nginx started up. When I go to the ip address, neither phpmyadmin nor index.php nor joomla are displayed and now I don’t understand what to do next, I don’t understand how to attach a domain to a container and how to start Joomla. OS Centos 6.8, please help, it's not difficult for anyone.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
ramjke, 2017-06-07
@ramjke

When I go to ip address

The server may not be configured to handle the IP address.
in hosts on your computer, write down the correspondence between the IP address of the server and the domain to which the web server should respond. Clear the browser cache and resolver cache (unplug and plug the power cord into the computer) and go to the domain.
To bind a domain to a site, you need to specify an A-record for the domain - you need to register a domain (if you have not done so already), and specify the IP address in the A-record at the domain provider and wait 1-2 days for the DNS cache -servers have been updated and your site has become visible to all Internet users.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question