wildcard-subdomain

Hosting many SSL sites on Azure using a wildcard certificate with MVC

喜欢而已 提交于 2019-12-06 05:57:32
问题 The following application currently runs on a Windows 2008 R2 server that I'm attempting to migrate to Azure: Part 1 First I have the following ASP.NET MVC site that routes customers based on the first part of the DNS name: https://customer1.myAzureSite.com https://customer2.myAzureSite.com https://customer3.myAzureSite.com ... https://customerN.myAzureSite.com Part 2 Then, I also have a different IIS website that is used for enrolling/signing up only https://enroll.myAzureSite.com Part 3

Using wildcard subdomain on specific directory

强颜欢笑 提交于 2019-12-06 05:25:32
I am setting up an existing wordpress install to use multisite. I have successfully set up the network and since it was an existing install it uses subdomains (which I wanted anyways). I have created a new site/subdomain on my network so it would look something like this example.domain.com The issue I am running into is getting wildcard subdomains setup on my hosting provider BlueHost. I am hosting multiple domains so when I setup a wildcard it always points to the root or original ip address. I need it to point to a specific directory of the root so it uses the correct wordpress install. root

How can Nginx add the Subdomain as parameter when a proxy_pass to Tomcat is executed

做~自己de王妃 提交于 2019-12-05 20:41:51
What I am trying to achieve The web application should be able to support multiple subdomains without having to make any changes on the nginx or tomcat every time a new subdomain is used. (I have already done the required changes to DNS to support wild card subdomains) Nginx listens to port 80. It does a proxy_pass to tomcat at port 8080. nginx should be able to support multiple subdomain. My current setup is based on this answer. But it is not passing the parameter Nginx proxy_pass : Is it possible to add a static parameter to the URL? Every possible subdomain dynamic_subdomain_1.localhost

Problem with sessions, subdomains and authlogic in Rails

时间秒杀一切 提交于 2019-12-04 11:55:48
I've got a rails app with authlogic authentication and a username.domain.com structure built with subdomain-fu. But my session breaks when going from domain.com to username.domain.com. I've tried to add config.action_controller.session = {:domain => '.localhost:3000'} to my development.rb but that seams to break authlogic disabling sign out/sign in. Any suggestions on what to do? Thanks in advance! you are having this issue in the development mode but probably wont have this issue in prod mode.. you are trying to set the top level cookie. your browser wont let you do that. what you are trying

Hosting many SSL sites on Azure using a wildcard certificate with MVC

二次信任 提交于 2019-12-04 10:52:00
The following application currently runs on a Windows 2008 R2 server that I'm attempting to migrate to Azure: Part 1 First I have the following ASP.NET MVC site that routes customers based on the first part of the DNS name: https://customer1.myAzureSite.com https://customer2.myAzureSite.com https://customer3.myAzureSite.com ... https://customerN.myAzureSite.com Part 2 Then, I also have a different IIS website that is used for enrolling/signing up only https://enroll.myAzureSite.com Part 3 This application uses SOA, and there is another site for the businesslayer: https://BusinessLayer

nginx proxy based on host when using https

感情迁移 提交于 2019-12-03 03:13:23
问题 I need to use Nginx as an SSL proxy, which forwards traffic to different back ends depending on the subdomain. I have seem everywhere that I should define multiple "server {" sections but that doesn't work correctly for SSL. Doing that I would always have the SSL being processed in the first virtual host as the server name is unknown until you process the https traffic. Scenario: One IP address One SSL wildcard wildcard Multiple backends which needs to be accessed like the following: https:/

nginx proxy based on host when using https

馋奶兔 提交于 2019-12-02 15:17:49
I need to use Nginx as an SSL proxy, which forwards traffic to different back ends depending on the subdomain. I have seem everywhere that I should define multiple "server {" sections but that doesn't work correctly for SSL. Doing that I would always have the SSL being processed in the first virtual host as the server name is unknown until you process the https traffic. Scenario: One IP address One SSL wildcard wildcard Multiple backends which needs to be accessed like the following: https://one.mysite.com/ -> http://localhost:8080 https://two.mysite.com/ -> http://localhost:8090 Nginx says

mod_rewrite regex (too many redirects)

谁说胖子不能爱 提交于 2019-12-02 09:25:09
问题 I am using mod_rewrite , to convert subdomains into directory urls. (solution from here). When I explicity write a rule for one subdomain, it works perfectly: RewriteCond %{HTTP_HOST} ^[www\.]*sub-domain-name.domain-name.com [NC] RewriteCond %{REQUEST_URI} !^/sub-domain-directory/.* RewriteRule ^(.*) /sub-domain-directory/$1 [L] However, if I try to match all subdomains, it results in 500 internal error (log says too many redirects). The code is: RewriteCond %{HTTP_HOST} ^[www\.]*([a-z0-9-]+)

Can I use a wildcard subdomain with my custom domain?

瘦欲@ 提交于 2019-12-01 17:49:37
问题 Just checking to see if anyone knows if this is possible yet. I would like to use a wildcard subdomain with firebase hosting and use functions to parse the subdomain. 回答1: No, Firebase Hosting does not presently support wildcard subdomains. It's something that we'd like to do in the future, but there are no timelines or concrete plans to share at this time. 来源: https://stackoverflow.com/questions/54579293/can-i-use-a-wildcard-subdomain-with-my-custom-domain

Sharing session data to all subdomain codeigniter

随声附和 提交于 2019-12-01 03:44:03
问题 I am trying to use one session data for all of my subdomains. I have created a subdomain in cpanel like this : *.mydomain.in and my *.mydomain.in uses the same path as my mydomain.in example: mydomain.in uses path on my server: /public_html/mydomain.in *.mydomain.in uses path on my server: /public_html/mydomain.in Now the problem is every time I visit the site it's creating a different session. For example: I visit mydomain.in .... it creates a session. I visit example.mydomain.in .... it