Tag Info

New answers tagged

0

hipache seems like exactly what you need. you can dynamically add and remove subdomains but just adding and removing redis entries: https://github.com/hipache/hipache


5

To use one SSL certificate across subdomains, it must be a wildcard SSL certificate, or specifically enumerate the subdomains for which it is valid with SAN. That might not be what you bought.


0

Although discouraged in RFC 7208, you can use wildcard subdomains to define SPF records. But if any of the sub-domains you want to prevent mail for have existing resource records of any type (which is probably the only reason you'd want to do this), you would need to explicitly define the SPF record for that sub-domain anyway. The example from the RFC: ...


0

These steps worked for me in Ubuntu 12.04 LTS x86_64: You need to create a new site file at /etc/apache2/sites-available/john.mysite.com.conf The extension ".conf" is very important, without it, the rest won't work!! Then set up the site something like this: <VirtualHost *:80> ServerName john.mysite.com DocumentRoot /var/www/john ...


1

Don't have your site setup as the default vhost. On RHEL/CentOS leave the default site setup as /var/www/html and set your main site up as /var/www/example.com/html. Any request not to example.com or an alias will go to the default site.


2

Install your application outside the DocumentRoot and use the Alias directive to make it available within the specific VirtualHost entries you set up for subdomains. Alias /app /var/www/apps/appname You application can then use the SERVER_NAME to determine which virtual host is being accessed if you need to do anything specific per subdomain.


2

Apache Virtual Host documentation can give you a good overview. Check all [virtualhost] questions for specifics for the specific OS and distribution you are using. On Debian/Ubuntu style systems you can add your subdomains (or other domains) to /etc/apache2/sites-available/[YOUR_SUBDOMAIN] and then run a2ensite [YOUR_SUBDOMAIN]. Don't forget to reload ...


-2

If you are using Apache2, you can create a virtual host for each. I prefer to use named virtual hosts so I don't need a new ip address for each. The way I do it, is to add an include line in the /usr/local/apache/conf/extra/httpd_vhosts.conf file that points to a directory containing all of your virtual host files. ------httpd_vhosts.conf--------- ...


0

If you have verified that your DNS records are fine, then you might need to talk to your host. A www subdomain is not always created by default on the webserver why they would have to create this for you.


1

If you made the change only a little bit ago, wait and try again after 1 hour. Depending on your NS provider, it could take a while to populate across the internets. You can also nslookup - xx.xx.xx.xx where xx.xx.xx.xx is your NS, then type www.example.com and hit enter to see if your A record was generated properly.


0

You should be able to do this with delegation like so: * IN NS google-public-dns-a.google.com. * IN NS google-public-dns-b.google.com. If you know the specific records you want to delegate, you can create the NS records for those only: cpanel IN NS google-public-dns-a.google.com. cpanel IN NS google-public-dns-b.google.com. ...


2

Calling A and AAAA records subdomains is technically correct but is not how people generally refer to them. They just call them host records, A records or AAAA records. Most people generally think of subdomains as child domains of a parent domain (that's how I generally think of them). An AAAA record is an IPv6 address record. You probably want to create ...


0

Is there a reason you want to use a different port than standard port 80? You can use host headers and have multiple sub domains point to different sites with different host headers. If you have a wild card SSL, you can use appcmd command to use a single up address to host multiple sites with port 443.


0

If you want to add a subdomain then you would select the New Domain item from the context menu and name it accordingly. Subsequent records created in the subdomain will end up as hostX.SD1.mysite.com. If you simply want to create a DNS record for SD1 in the mysite.com domain/zone then you would select the New Host (A or AAAA) item in the context menu and ...


1

All you do is click "New Host (A or AAAA)..." and for the Name, type somehost.subdomain. "Subdomain" will automatically be added as a subdomain, and a host record named "somehost" will be created in that subdomain. Very simple. It's good that you're careful around production servers, but consider getting yourself a little lab environment together, even if ...


1

Header set Strict-Transport-Security "max-age=16070400; includeSubDomains" Your browser is honoring it, including the includeSubDomains


0

Assuming you have enabled mod_proxy in lighttpd. Paste this at the end of the configuration file and restart lighttpd. $HTTP["host"] = "docs.example.com" { proxy.server = ( "" => ( "host" => ( "host" => "127.0.0.1", "port" => 8080 ) ) ) } I'm not really sure if you'd be needing the "host" => 127.0.0.1 line. ...



Top 50 recent answers are included