I want to build a server on my computer for remote access. how can I configure apache? 1 & nbsp; I already have a domain name 2 & nbsp; I use a peanut shell for dynamic domain name resolution, and it corresponds to the current ip address of my computer ----------------------------- do I need to configure anything on apache? 「 I want to build a server on my computer and access it remotely. how can I configure apache?
1. I already have a domain name.
2. I use a peanut shell for dynamic domain name resolution, which corresponds to the current ip address of my computer.
//-------------------------------------
What else do I need to configure on apache? Explanations
------ Solution --------------------
After apache is installed, port 80 is enabled and you can directly access it from outside.
------ Solution --------------------
The default value is 80, and there is no need to write ports during access.
------ Solution --------------------
Configure the domain name to specify the ip address of the server that mysql.xxxx.com is resolved. Ip specified to domain name
NameVirtualHost *: 80
DocumentRoot "D:/xxxx /"
ServerName xxxx.com
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
DocumentRoot "D:/xxxx/mysql /"
ServerName mysql.xxxx.com
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
Baidu apache domain name has many configurations