A
A
Anton Seredny2017-11-01 20:26:47
Apache HTTP Server
Anton Seredny, 2017-11-01 20:26:47

How to add a new domain (site) in apache2?

ubuntu 16.04
lamp-server
What is the correct way to add a new site to the server so that everything works?
Which Apache config to edit and how? Everywhere different information and xs how to deal with the rights to folders and the general structure of files

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zooks, 2017-11-01
@zooks

virtualhosts.conf

S
Someone White, 2017-11-01
@hack_student

Here is the instruction
https://httpd.apache.org/docs/2.4/vhosts/examples.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question