M
M
muhasa2020-01-10 13:47:34
Apache HTTP Server
muhasa, 2020-01-10 13:47:34

How to set up a virtual host in Apache in a special way?

Folks, I just made a new server, I set up phpmyadmin, but not through the installation (there are always problems with it), but simply by creating a directory inside /var/www/phpmyadmin, there is also a directory of the main site /var/www/mainsite.ru, I wanted to I would like phpmyadmin to work as a subdomain, like this http://phpmyadmin.mainsite.ru, but the domain cannot be transferred at the moment, there is only an ip-address. How to make the site work while in this mode - http://phpmyadmin.ip-address?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Antonio Solo, 2020-01-10
@solotony

so that the site works in this mode so far - http://phpmyadmin.ip-address?

no way!
ps and what's stopping you from temporarily registering some domain inhosts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question