subdomain

Free DNS server for Windows XP/Vista/Win7?

I'm currently developing a security solution that should work across domains and as such I need a small private dns server to add various entries to. I could alter the hosts file to achieve the same result but since the hosts file doesn't support wildcard chars I will have a whole lot of entries, so a DNS server that supports wildcards w...

Wildcard subdomains in IIS7. Is it possible to make them like it is in Apache?

Hello! Is this possible to configure IIS7 to achieve the same functionality like Apache has regarding wildcard domains? I'm interested in routing user in ASP.NET web application based on subdomain user used in URL. Something like is described here: http://steinsoft.net/index.php?site=programming/articles/apachewildcarddomain Thanks ...

1 A-record for every subdomain (10000+); any potential issues? Any other solution?

Most solutions I've read here for supporting subdomain-per-user at the DNS level are to point everything to one IP using *.domain.com. It is an easy and simple solution, but what if I want to point first 1000 registered users to serverA, and next 1000 registered users to serverB? This is the preferred solution for us to keep our cost d...

How to dynamically create sub-domains with different IP than the original domain correctly and efficiently?

How to efficiently create subdomains dynamically that are resolved to different IP than the original domain? Most dynamic subdomain creation solutions I've found here would add a *.domain.com A-record to the DNS server (usually using BIND), but that's not what I want. Does that mean the zone file needs to be set to always Expire? Woul...

When should one use a 'www' subdomain?

When browsing through the internet for the last few years, I'm seeing more and more pages getting rid of the 'www' subdomain. Are there any good reasons to use or not to use the 'www' subdomain? ...

Domain redirection and suspension

Hi, I have a site developed in ASP.NET and hosted on a windows server using shared windows hosting account at godaddy. I developed a replica of my website in php and hosted my php site on a free hosting service (php, linux, mysql) and its working fine. This is on a shared subdomain. Example (mysite.freehostprovider.com) Now I want to ...

Is there a way to always require or force the 'www' subdomain on a site?

I want to prevent users from going to say example.com and only go to www.example.com, we are using IIS 6. So say they go to example.com it could tack on the www.example.com, etc. Is this a setting somewhere or will I have to code it to check for the subdomain when they land and redirect accordingly? EDIT: I know the best way is to move...

Why did ASP.NET generate the same cookie key for a domain and subdomain?

Bug: I've got an ASP.NET web application that occasionally sets identical cookie keys for ".www.mydomain.com" and "www.mydomain.com". I'm trying to figure out what default cookie domain ASP.NET sets, and how I accidentally coded the site to sometimes prepend a "." to the cookie domain. When 2 cookies have the same key and are sent up f...

Is there an issue redirecting my homepage based on IP to a subdomain?

I have a website with .com domain. www.example.com. At the moment it's primarily focussed on the UK. However I've been trying to work out how to cope with expanding to the US/EU without having to migrate the existing site to .co.uk and put the US site on .com. my current idea is to have uk.example.com us.example.com example.frexample.de...

Use htaccess to redirect all traffic from root to specific subdomain page

I have a site that has been up for some time. I had a blog on a subdomain for some time. I have decided to do away with the main site and just support the blog subdomain. I have a redirect setup for this, but it carries all the extra parameters through to the blog which results in a file not found page appearing. I just want the redi...

Does every product need its own domain?

We are starting out a new project where I work and one of the things being talked about is the name of the product. The rest of the company seem to place great importance on the domain name being available eg. [product].com. I am saying that it does not matter as [product].[companydomain] or [companydomain]/[product] are just as good and...

SEO consequences of using a subdomain for an externally-hosted blog?

Is there any SEO disadvantage in using a subdomain to host a blog on Wordpress or Blogger? I don't want to go to the trouble of creating a blog module for my site - I'd rather just set up a CNAME entry and point a subdomain to a free Wordpress or Blogger account. Will Google punish me for doing this by claiming that I have "duplicate con...

What is the best way with Apache to redirect a blank subdomain to another subdomain?

I want any request to http://example.com/* to be redirected to http://www.example.com/*. Where * is any arbitrary path. ...

How do I inplement Sub-Domains and DNS CNAMES in CakePHP?

I have been using the below code in my Bootstrap.php file in CakePHP to detect subdomains, which appears to work really well. preg_match('/^(?:www\.)?(?:(.+)\.)?(.+\..+)$/i', env('HTTP_HOST'), $matches); define('SUBDOMAIN', empty($matches[1]) ? false : $matches[1]); define('HOST', $matches[2]); define('BASE_URL', 'http://' . HOST); ...

Forcing SSL & www subdomain for any URI entered with .htaccess?

I have an SSL certificate for the 'www' subdomain of a web site we'll call example.com. Therefore I can force SSL, but if the user doesn't enter 'www.example.com' into their browser, the SSL certificate appears invalid. I wish to accomplish this with mod_rewrite rules in an .htaccess file at the root of the web site. No matter what UR...

how to set subdomain for length of integration test on multi-site app?

what's the best way to change a subdomains for the duration of an integration test? jamis buck suggested using host! here: http://weblog.jamisbuck.org/2006/3/9/integration-testing-in-rails-1-1#12 but according to the rails API, host! only changes the host for the following single request. i'm looking for something like @request.host...

Using a sub-domain of website to login users

Fogbugz-on-demand, 37 signals, and PB-Wiki all use sub-domains with custom url's for each group of users to access their login page. So it doesn't even seem possible for a user using those services to login to a generc login (that any user of the service could log into.) At first I thought this was a terrible design flaw, but now I thi...

Does a "blog" sub-domain help the pagerank of your main site?

I have my main application site https://drchrono.com, and I have a blog sub-domain under http://blog.drchrono.com. I was told by some bloggers that the blog sub-domain of your site helps the pagerank of your main site. Does traffic to your blog sub-domain help the Google Pagerank of your site and count as traffic to your main site? ...

In a django web application, how do you give users their own subdomain?

I'm starting a new web app project using Django and Pinax. I want to be able to give my users unique domain names like Wordpress and other sites do : username.wordpress.com. I'm not sure how to approach this with Django, since the url parsing logic (in urls.py) starts with the url AFTER the domain name. More specifically, there will be ...

How to auto-add subdomain www when omitted by user (ASP.NET)?

Ok due to some client security something or other the DB tracking only works when there is a www in front of the subdomain. I want to prevent further support tickets from users going to thewebsite.com and finding out later the DB was not recording for them. I need it to redirect to www.thewebsite.com if they hit thewebsite.com. PS: I he...