A
A
azaza2018-11-14 21:54:26
linux
azaza, 2018-11-14 21:54:26

How to make a subdomain in xampp (linux)?

How to make a subdomain in xampp (linux)?
if opt/lampp/htdocs/index.php opens via external ip or localhost

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Official account of the Timeweb team, 2020-06-22
@timeweb_team

You need to add the appropriate directives to the apache configuration settings (usually located at /opt/lampp/etc/httpd.conf and /opt/lampp/etc/extra/httpd-xampp.conf), or by adding a subdomain to an already existing VirtualHost block in the ServerAlias ​​field, or create a new block and set the subdomain to ServerName (for example, if you want the subdomain to refer to a different directory).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question