[Note] Trỏ domain về lớp mạng sau NAT (multi VPS, multi local IP)

Table of Contents

VPS A file vhost

<VirtualHost *:80> ServerName bbb.xyz SetEnv NS_ENV variable_value ProxyPass / http://bbb.xyz/ ProxyPassReverse / http://bbb.xyz/ </VirtualHost>
file host
b.b.b.b bbb.xyz

VPS B

file vhost
NameVirtualHost *:80 <Directory "D:/WebData/"> AllowOverride All Order Deny,Allow Allow from all </Directory> <VirtualHost *:80> DocumentRoot "D:/bbb.xyz/" ServerName bbb.xyz ErrorLog "logs/bbb.xyz-error.log" CustomLog "logs/bbb.xyz-access.log" combined <Directory "D:/bbb.xyz/"> # AllowOverride All # Deprecated # Order Allow,Deny # Deprecated Allow from all # Deprecated # --New way of doing it Require all granted </Directory> </VirtualHost>
Vậy là OK^^ -soiqualang_chentreu-]]>


Warning: Undefined variable $comments_number in /shared/webdir2/dothanhlong.org/wp-content/themes/business-hub/comments.php on line 35

Warning: Undefined variable $comments_number in /shared/webdir2/dothanhlong.org/wp-content/themes/business-hub/comments.php on line 39
0 thoughts on “[Note] Trỏ domain về lớp mạng sau NAT (multi VPS, multi local IP)”

Leave a Reply

Your email address will not be published. Required fields are marked *