我们的服务器url架构是这样设置的: customer-domain.extension.clients.example.com 例如: customer-domain.net.clients.example.com 所以clients.example.com从来没有真正改变,但客户域和扩展做。 什么是为这台服务器设置SSL证书的最可靠和便宜的方式? 谢谢,斯拉夫
我想创build许多虚拟子域名,例如我的原始网站是www.Test.com,但我希望我的网站用户可以打开我的网站与给定的模式username.Test.com 你能帮我解决这个问题吗?
我在ubuntu运行灯栈上运行一个ec2实例。 我configuration了我的httpd.conf文件,以支持通配符子域,但它没有工作。 我的httpd.conf文件 NameVirtualHost * <VirtualHost *> DocumentRoot /www/example ServerName example.com ServerAlias *.example.com </VirtualHost> 我尝试了所有可能的解决scheme,但他们没有工作。 最后,我使用亚马逊Route-53来设置通配符DNS,将所有* .example.comredirect到example.com。 我的问题是, 如果我使用Route-53而不是httpd.conf文件作为通配子域,可以吗? 在我的httpd.conf文件中是否有错误? ( 注意:我使用了与其他托pipe提供程序相同的httpd.conf设置,并且在那里完美运行。) 附加信息 : VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:80 is a NameVirtualHost default server example.com (/etc/apache2/httpd.conf:1) port 80 namevhost example.com (/etc/apache2/httpd.conf:1) port 80 namevhost ip-xx-xxx-xx-xxx.ec2.internal (/etc/apache2/sites-enabled/000-default:1) Syntax OK
我通过openssl使用以下命令生成我的ssl密钥: openssl req -passin pass:3a1b -new -key server.key -out server.csr; cp server.key server.key.org; openssl rsa -passin pass:3a1b -in server.key.org -out server.key; openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt; 另外我添加我的localdomain作为Common Name设置为*.localdomain.sweb 。 但是当用户接受域名www.localdomain.sweb域的authentication时, www.localdomain.sweb another.localdomain.sweb也需要被接受。 当用户接受主域名证书时,如何将所有子域设置为有效证书。
这是关于使用子域的示例Rails应用程序。 你可以在这里访问它: http : //rodrigora.com.br 。 在这个应用程序中,您可以创build网站并为其指定一个子网域。 例: 网站: Google 子域名: gog 这个网站应该可以访问http://gog.rodrigora.com.br 但是,该应用程序是不可缓解的任何子域名,无论是www 。 DNS服务器configuration: nginx服务器configuration: upstream app_server { server unix:/tmp/unicorn.blog.sock fail_timeout=0; } server { listen 80 default; #server_name localhost; client_max_body_size 4G; keepalive_timeout 10; root /home/ubuntu/apps/blog/current/public; try_files $uri/index.html $uri.html $uri @app; location @app { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; […]
我有一个服务器,主机mydomain.com。 然后我有一个服务器,主机subdomain1.mydomain.com。 在subdomain1.mydomain.com服务器上,我如何制作子域名? 例如,我想创buildsubdomain2.subdomain1.mydomain.com 我有我的subdomain1.mydomain.com网站在/ home / USER / public_html,它工作得很好。 但是,当我尝试创buildsubdomain2.subdomain1.mydomain.com,它说服务器没有在浏览器中find。 我在/ etc / hosts和/etc/apache2/sites-available/subdomain2.subdomain1.mydomain.com尝试了很多configuration,没有任何运气 我可以得到一些详细的说明吗? 我到处看,每个地方都告诉你不同的,没有运气。 Ubuntu的服务器11.10带灯栈选项
我在apache2中使用这个configuration作为通配符子域,效果很好: <VirtualHost *:80> DocumentRoot /var/www/ ServerName sumdomains.example.com ServerAlias *.example.com RewriteEngine On RewriteRule ^/(.*) /%{HTTP_HOST}/$1 </VirtualHost> 这意味着,对http://user.example.com/foo.html的请求将获取文件/ var / www / user.example.com /foo.html。 但我想请求http:// user .example.com / foo.html从/ var / www / user / foo.html获取文件。 我应该使用哪个通配符?
我只是把我的域名移动到另一个主机,所有工作正常,但只有我在我的通配符域下的网页似乎没有被服务器工作/发现。 我只需要在dns旁边configuration什么? 我现在拥有的 //可能是我自己犯了一个错误,我只是添加了* .example.com这样的通配符,我没有添加,直到我看到服务器没有响应! 我必须等24小时? ; <<>> DiG 9.7.3 <<>> google.com.example.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7900 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;google.com.example.com. IN A ;; AUTHORITY SECTION: example.com. 1983 IN SOA ns0.transip.net. hostmaster.transip.nl. […]
我想所有子域映射到一个特定的文件夹和404如果什么都不存在。 所以如果我有一个WordPress的安装,我想Nginx看到ANTHING.MYSITE.com,并尝试从/var/log/mysite/subdomaindir/ANYTHING托pipe文件 我怎么能这样做?
我想要将所有发送到* @ *.domain.com电子邮件都logging到一个帐户中,我该怎么做? 我已经设置了通配符MXlogging,并且正确parsing。 但是我很难find任何能够实现这个function的电子邮件服务器软件。 PS。 我宁愿托pipe/基于Web的解决scheme,或Windows解决scheme,因为我们的农场是围绕Windows服务器…但一个* nix选项也是:( PPS。 Google Apps无法做到这一点,尝试了…