Answer the question
In order to leave comments, you need to log in
How to connect a common engine in a subdomain?
Good evening!
In general, I have a domain example.com
, where I have the entire engine. There is also a subdomain test.example.com
How can I connect the engine in a subdomain? Or generally accept all requests to the main domain?
There is a way , but I strongly believe that it can be done more correctly require '/var/www/example.com/index.php';
Answer the question
In order to leave comments, you need to log in
The most logical option is if you have 1 engine and all requests from site.com and from *.site.com it accepts one and then it sorts out inside what domain called it and based on this it issues content
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question