subdomain

How to add SSL to subdomain that points to a different server?

拜拜、爱过 提交于 2019-12-21 07:04:50
问题 I don't know much about secure certificates, so please bear with me... I've got a webserver that has a single domain SSL certificate https://secure.mysite.com I also have a couple of subdomains that point to different servers. http://www.mysite.com ( main server) http://subdomain.mysite.com (completely different server) I am wondering: What is the best way to add SSL to the subdomain: https://subdomain.mysite.com Is it possible to configure something like this with a wildcard certificate? Or

Creating subdomains dynamically for an application

旧街凉风 提交于 2019-12-21 06:40:06
问题 I want to create subdomains dynamically through a PHP script or something similar. I've seen lots of sites that create subdomains for individual users, or for new forum spaces. I'm just wondering how that works, and how I can implement it in my system. Thanks for your help! 回答1: Take a look into wildcard subdomains. Once you have all of the "subdomains" going to the right place, you can use url rewriting and/or some other mixture of redirecting to create the effect of subdomains without

nginx - rewrite domain.com:port to sub.domain.com

坚强是说给别人听的谎言 提交于 2019-12-21 06:19:10
问题 How can i rewrite a domain with a port to a subdomain? e.q.: domain.com:3000 to sub.domain.com ? thanks for your help! :) greetz 回答1: If you actually want to redirect (301 or 302) your web traffic You create a server {} section listening on port 3000 and you just redirect it to another server {} section that is listening on port 80. In each server {} section set the listen property appropriately. I guess you are trying to handle the redirection within à single server section and according to

nginx - rewrite domain.com:port to sub.domain.com

感情迁移 提交于 2019-12-21 06:19:04
问题 How can i rewrite a domain with a port to a subdomain? e.q.: domain.com:3000 to sub.domain.com ? thanks for your help! :) greetz 回答1: If you actually want to redirect (301 or 302) your web traffic You create a server {} section listening on port 3000 and you just redirect it to another server {} section that is listening on port 80. In each server {} section set the listen property appropriately. I guess you are trying to handle the redirection within à single server section and according to

Rewrite all virtual subdomains to same folder using htaccess

假装没事ソ 提交于 2019-12-21 06:05:25
问题 I have been searching the internet trying to find a solution to this problem but cannot find a definite solution. I am trying to redirect rewrite anything.domain.com/anypage.php?sub=anything&including=get_parameters to domain.com/users/anypage.php?sub=anything&including=get_parameters I have found several pages with possible solutions but they all differ slightly to my needs, and editing them continually ends in failure. Any help would be much appreciated. Thank you. P.S Wildcard DNS are

Create an Apache SetEnv variable with the subdomain name in case of wildcard

女生的网名这么多〃 提交于 2019-12-21 05:27:05
问题 I have a website that is basically set up as this: client_name.website.com ...where clientname is actually a wildcard. For every new customer, I create a subdomain basically. I need to automatically get the client name info directly from Apache. For example, if one comes throught: client1.website.com ...I would like to have apache do a SetEnv CLIENT_NAME client1 for me. Since I work with wildcard, it would be nice if this SetEnv would be done dynamically. Really pratical for great amounts of

connecting SSL to subdomain [closed]

本小妞迷上赌 提交于 2019-12-21 03:14:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I have an SSL assigned to my main domain and I'm wondering if I can use the SSL to my sub-domain!! I frankly tried it out, but it shows warning page saying that this page is not safe or so on. Is there a solution to this so I can use the SSL on my sub-domain to let clients send their info on a secure connection.

connecting SSL to subdomain [closed]

落爺英雄遲暮 提交于 2019-12-21 03:14:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I have an SSL assigned to my main domain and I'm wondering if I can use the SSL to my sub-domain!! I frankly tried it out, but it shows warning page saying that this page is not safe or so on. Is there a solution to this so I can use the SSL on my sub-domain to let clients send their info on a secure connection.

How do I disable HTTPS on Heroku

こ雲淡風輕ζ 提交于 2019-12-20 17:28:24
问题 I created a site and put it on Heroku. I then added a custom domain (e.g. "site.example.com") in the Heroku control panel and I pointed the DNS to my Heroku address. This works fine, but when I visit the site, I get a big browser warning, saying the certificate is for herokuapp.com, not for "site.example.com". How do I turn off HTTPS or fix it in some other way? (I don't need my own SSL certificate for the site.) Note : It's not Heroku's fault if your app is forcing people onto SSL. Check

Django subdomain configuration for API endpoints

丶灬走出姿态 提交于 2019-12-20 15:23:10
问题 I've set up a Django project which makes use of the django-rest-framework to provide some ReST functionality. The website and the rest functionality are all working fine. However there is one little problem: I need my API endpoints to point to a different subdomain . For example when a user visits the website he/she can navigate around normally according to my urls.py : http://example.com/control_panel So far so good. However when the API is used I want to change that to something more