Dns 如何将多个域指向一台服务器?

Dns 如何将多个域指向一台服务器?,dns,vps,Dns,Vps,我有一个视频处理系统,几乎不用。我想指出几个领域,我有(通过注册其他地方)到这个VPS的不同文件夹。有没有办法做到这一点 For example: helloomgwtf.com -> 111.111.111.111/hello hitherehowareyou.com -> 111.111.111.111/hithere thirdrandomdomain.com -> 111.111.111.111/random 我对设置东西是完全陌生的,所以非常感谢详细的解释 谢谢

我有一个视频处理系统,几乎不用。我想指出几个领域,我有(通过注册其他地方)到这个VPS的不同文件夹。有没有办法做到这一点

For example:

helloomgwtf.com -> 111.111.111.111/hello
hitherehowareyou.com -> 111.111.111.111/hithere
thirdrandomdomain.com -> 111.111.111.111/random
我对设置东西是完全陌生的,所以非常感谢详细的解释


谢谢

您正在寻找虚拟主机

NameVirtualHost *:80 
<VirtualHost *:80>
  ServerName helloomgwtf.com
  DocumentRoot /var/www/vhosts/hello
</VirtualHost>

<VirtualHost *:80>
  ServerName hitherehowareyou.com
  DocumentRoot /var/www/vhosts/hithere
</VirtualHost>

<VirtualHost *:80>
  ServerName thirdrandomdomain.com
  DocumentRoot /var/www/vhosts/random
</VirtualHost>
NameVirtualHost*:80
服务器名helloomgwtf.com
DocumentRoot/var/www/vhosts/hello
服务器名:howareyou.com
DocumentRoot/var/www/vhosts/here
ServerName thirdrandomain.com
DocumentRoot/var/www/vhosts/random

Rackspace对此有很好的信息。

您正在寻找虚拟主机

NameVirtualHost *:80 
<VirtualHost *:80>
  ServerName helloomgwtf.com
  DocumentRoot /var/www/vhosts/hello
</VirtualHost>

<VirtualHost *:80>
  ServerName hitherehowareyou.com
  DocumentRoot /var/www/vhosts/hithere
</VirtualHost>

<VirtualHost *:80>
  ServerName thirdrandomdomain.com
  DocumentRoot /var/www/vhosts/random
</VirtualHost>
NameVirtualHost*:80
服务器名helloomgwtf.com
DocumentRoot/var/www/vhosts/hello
服务器名:howareyou.com
DocumentRoot/var/www/vhosts/here
ServerName thirdrandomain.com
DocumentRoot/var/www/vhosts/random

Rackspace对此有很好的信息。

谢谢!我会调查的,谢谢!我会调查的。