我有一个Godaddy域(mysite.com),它指向我的AWS EC2框。 现在我需要一个在我的网站上的启动板链接,如果用户点击它,它会指向launch.mysite.com 这个链接也应该指向相同的AWS EC2框,然后在那里我会通过Apache的VirtualHosts捕获到来的主机,并相应地redirect。 我最困惑的是现在如何创buildlaunch.mysite.com? 我是否创build一个“转发子域”并将其转发给我的IP? 或者我创build一个CNAME指向相同的IP? 非常感谢,
我有一个安装在Debian 7 vps上的vanilla apache2服务器。 在sites-enabled文件夹中,我为特定的子域创build了一个文件。 它正在工作,并在正确的文档根目录下显示正确的文件,但是在index.html页面请求的任何静态资源上都会收到403个Forbidden错误。 我的configuration文件如下: <VirtualHost *:80> ServerName foo.bar.net ServerAlias foo.bar.net DocumentRoot /home/foobar/someLibary/demo <Directory /home/foobar/someLibary/demo> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log # Possible values include: debug, info, notice, warn, error, cric, alert, emerg. LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost>
我为我们的Microsoft Exchange 2010服务器创build了一个CSR(域名:mail.domain.com(示例)),我们有一个Godady托pipe帐户(仅限DNS主机),我们没有SSL证书,需要购买一个。但是,购买哪个SSL? https://www.godaddy.com/ssl/ssl-certificates.aspx ? ci=9039 我们只需要mail.domain.com的SSL证书( https://mail.domain.com )“保护一个网站”选项是否工作?)Godaddybuild议我们使用多域名甚至通配符包。但是由于只需要一个子域/域名( https://mail.domain.com )的证书,这就是为什么我这个基本选项将是我们最好的select,你同意吗?
我想知道,如果我有一个域foo.bar,并希望在其他提供商,如谷歌主电子邮件服务器,同时在本地另一个电子邮件服务器subdomain.foo.bar。 换句话说,发送到[email protected]的电子邮件将由外部主机处理,而发送到[email protected]的电子邮件将由本地电子邮件服务器处理。 都迎合全球客户。 这是否是惯例?
我试图按照如何使子目录尾部特定的目录,所以例如我去http://sub.mydomain.com ,它应该把我的/var/www/sub的根。 http://randomdir.mydomain.com应该带我到/var/www/randomdir 。 我在SF上听了很多答案,但没有任何帮助。 基本上我做了一个通配符logging*.mydomain.com几天前,现在我已经在/etc/apache2/sites-enabled/mydomain.com.conf其中包含这个添加一个虚拟主机: <VirtualHost *:80> ServerName mydomain.com ServerAlias www.mydomain.com DocumentRoot /var/www/ </VirtualHost> <VirtualHost *:80> ServerName cake.mydomain.com ServerAlias *.mydomain.com DocumentRoot /var/www/%1 </VirtualHost> 但是,当重新启动apache2,我得到这个返回: Warning: DocumentRoot [/var/www/%1] does not exist apache2: Could not reliably determine the server's fully qualified domain name, using xxx.xxx.xxx.xxx for ServerName … waiting Warning: DocumentRoot [/var/www/%1] does not exist apache2: […]
我想将www.example.com或example.com指向abc.example2.com。 在example.com的我的cname区域设置中,我添加了一个cname,如下所示: 名称:www.example.comtypes:cname值:abc.example2.com 所以当我访问www.example.com时,它显示了abc.example2.com的内容,这是绝对正确的。 但是,当我访问example.com(没有www或任何其他子域),它不起作用。 我甚至尝试添加一个logging集如下: 名称:example.comtypes:cname值:abc.example2.com 但它给了我在2个不同的DNS托pipe网站的以下错误:路线53 RRSet of type CNAME with DNS name example.com. is not permitted at apex in zone example.com. DYNDNS CNAME cannot be created with label that is equal to zone name or in use for another record type. 现在,如何在访问example.com的时候显示abc.example2.com的内容呢?
我有一个域,它叫做mydomain.com ,它运行在NGINX服务器上。 我在为subdomain.mydomain.com sites-enabled上添加了新的configuration,并且工作。 但是当我访问, whatever.mydomain.com , wildcard.mydomain.com ,NGINX不显示404,但它是像mydomain.com执行configuration。 如何限制访问子域名,仅适用于启用网站的可用configuration?
我需要做一些维护工作到我的博客,这是在http://blog.ricardoamaral.net下,我正在寻找最好的方式来保护所有的外部访问,但我自己的,该子域。 所以我可以平静地工作,没有人看到我在做什么。 我以为如果使用.htaccess文件,并拒绝每一个访问,但我自己的IP,但这提出了一个问题。 我在一个dynamic的IP ISP,我将需要不断改变我的IP在.htaccess文件,这是一个痛苦。 有没有人有任何其他的build议?
我用registro.br注册了一个域名。 这是一个巴西域名,他们以不同的方式做事。 通常,我会注册一个域名,注册商会为我提供一个面板来为我的域名configuration选项。 Registro.br不会这样做。 您只需将您的域名指向您主机的DNS详细信息即可。 没关系。 只是现在我试图在Amazon EC2上托pipe我自己的网站。 我没有可以让我访问CNAMElogging等的主机。 我有一个实例和一个弹性IP。 如何在这种情况下创build子域名和CNAMElogging? 我的意图是让mysubdomain.mydomain.com.br指向xxx.xxx.xxx.xxx:8080/site1和mysubdomain2.mydomain.com.br指向xxx.xxx.xxx.xxx:8080/site2
这是我的vhosts.conf <VirtualHost *:80> DocumentRoot "C:/wamp/www" ServerName localhost </VirtualHost> <VirtualHost *:80> DocumentRoot "C:/wamp/www/images" ServerName images.localhost </VirtualHost> <VirtualHost *:80> DocumentRoot "C:/wamp/www/project" ServerName project.localhost </VirtualHost> Listen 8080 <VirtualHost *:8080> DocumentRoot "C:/wamp/www/trunk" ServerName localhost </VirtualHost> <VirtualHost *:8080> DocumentRoot "C:/wamp/www/images2" ServerName images2.localhost </VirtualHost> 这是我的Windows主机文件 127.0.0.1 project.localhost 127.0.0.1 images.localhost 127.0.0.1 images2.localhost 所以前三个都没问题 8080端口上的本地主机工作,我只是去本地主机:8080,它加载了什么是在主干。 images2.localhost:8080显示了C:/ wamp / www / trunk里面的内容,而images2.localhost只是进入了wampserver主页面。 试图改变这一点,但它仍然是一样的。