Use the host computer as the server, now you have placed a site, do not want to place a site (the two sites have different languages)?

use the host computer as the server, now you have placed a site, do not want to place a site (the two sites have different languages)?

Jan.14,2022

if there is a corresponding environment (runtime)


the simple answer is can

but now that you have asked this question, the solution is not easy for you.

the basic idea is to use ngixn as a HTTP server to receive various requests, and then nginx forwards the request to the corresponding back-end server according to the requested domain name.
A computer can run a lot of services as long as it performs ok. As @ luzemin and @ yuanxiaowa say, as long as there is a corresponding environment, you can open different ports to start a new site.


Yes, reopen a port

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e502aa-43dc6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e502aa-43dc6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?