subdomain

about SUBDOMAIN vs SUBFOLDER question again?

I am planing to create a site, where my root domain www.example.com has an index page where it will let the users CHOOSE 3 website namely politics.example.com , games.example.com, news.com or example.com/politics , example.com/games, example.com/news? now, I dont know what to choose? a SUBFOLDER or SUBDOMAIN linking? what i would l...

Wildcard subdomains with GoDaddy giving me 404 error

I have a hosting account with GoDaddy and I enabled wildcard subdomains by adding an A Record pointing to the IP Address. However when I try opening abc.mydomain.com, I get a 404 error. I searched the web and am doubting whether I need a .htaccess file. That file does not exist in my root folder. Can someone please guide me how to config...

Handling subdomains and https with .htaccess

In the .htaccess example below, if someone types in a URL like the following... http://mysite.com/ricks-motorcycles ...it will automatically load the page from x.com's subdirectory under public_html called "ricks-motorcycles". This technique is called Proxy Throughput. RewriteEngine On RewriteRule ^ricks-motorcycles/(.*)$ http://x.co...

hosts file and multiple sub-domains

For local testing (and learning), I wish to use x.com host name instead of localhost. I changed my Windows XP host file to this - 127.0.0.1 x.com Now http://x.com/ works beautifully but http://www.x.com doesn't. :( What changes should I make so that www.x.com, sub1.x.com, sub2.x.com etc.. all work on local. WordpressMU will let...

allow logins from multiple domains in phpbb?

Hi all, I've read a bunch of different things, none of which seem to be my situation. I have a site which uses a phpbb forum, and we also have multiple wordpress blogs which can use the database of phpbb via a plugin named wp-phpbb (can't post another hyperlink, but its at simplicitypoint dot com) . It works great for something that is...

Is there a pattern to define subdomain names for multilanguage websites?

I got a multilanguage website. I will have a lot of subdomain names, something like this: mysubdomain1.mysite.com, mysubdmoain2.mysite.com, mysubdomain3.mysite.com. Each one needs to be a multilanguage website, but for SEO reasons, which is the best/simple/clear method to define a subdomain/domain structure? en = english version 1) e...

Apache: Redirect dynamic subdomains to different ip's

I have a application with dynamic subdomains that should be redirected to different servers depending on a part of the subdomain. Example (anything means whateveryouwant, a dynamic name): example.com --> server1 anything.example.com --> server1 a.example.com --> server2 b.example.com --> server1 a.anything.example.com --> server2 b.any...

resolving sub-domain in apache -ignore, solved

Not sure how I fixed it, or if I did. might have just been taking forever for the dns to get resolved or something, but it works now. Apparently even though the site I listed below showed everything pointing to the right address, something somewhere wasn't resolving properly. --------- original message --------------- I'm not sure what...

How can I preserve session information when redirecting from one subdomain to another?

I'm programming with PHP. I want to redirect https://abc.example.com/blah1/blah2 to https://www.example.com/blah1/blah2 but I don't want to redirect https://abc.example.com redirect to https://www.example.com Is it possible while preserving session information across the redirections? Thank you. ...

How to create subdomain to post 3-4 .aspx pages in my website.

Hi everyone. I am new in asp.net 2.0 My question: I created one asp.net website and hosted it by getting domain and one of my client ask me to post his 3-4 asp.net pages as a sub domain of my main domain, so can anybody expain what to do and if there is any coding please expain me in detail. Thanks in Advance, Regards, s.venkatesh. ...

htaccess subdomain redirct with last url parameter

I want to write a .htaccess file for redirecting my subdomains and URL's last variable to a new location. Here is what I want to do: http(s)://abc.example.com/books I want my internal URL to be like: http://example.com/?name=abc&type=books I have already gotten the subdomain redirect to work but I am not able to do subdom...

Redirect SubDomain Request to a Specific Port

Hi I have a SharePoint solution running, with different applications running on different ports. Now I have to assign 3 subdomains to 3 different applications like: sub1.domain.com on port 36358 sub2.domain.com on port 36359 sub3.domain.com on port 36360 My network admin says that dns setting goes as long as server address, not a specifi...

Getting Cucumber & Subdomain-fu to play nice together

Hi all, I've recently started using Cucumber & Subdomain-fu together, and it's made me do some terrible things. I have a step definition that used to look like this: path = grok_path(path) get path That's nice and easy, in my opinion. But now it's this: path = grok_path(path) get "http://#{subdomain}.example.com#{path}" This wor...

Subdomains in asp.net mvc

How can I programatically create a subdomain in asp.net mvc, and what ways are there for creating a subdomain? ex: user.mysite.com or mysite.user.com ...

How does wordpress.com and other similar services create a subdomain instantly, that is instantly available?

Hi guys, i know almost anything about sub-domains and dns records. i have heard about them and i know just the basics. Actually, on my server, i do create the subdomain under plesk and then contact my hosting to create the right dns. and in 1-2 days the subdomain is reachable from everywhere (plesk can manage dns automatically, i know, ...

creating sub-domains on signup

I'm building a site where businesses will be able to sign-up for there own account which should be located at http://businessname.domain.com with the "businessname" changing each time. I want to do this on a windows server (IIS 7) but am not sure how a go about it. ...

Search Engine Optimisation and multiple sub-domains per html page

Hi, We are looking for some tips over a performance and search engine optimisation (SEO) technique. For our clients, we would like to place all of their page images in a sub domain in order to have a better browser related performance. For example by replacing: <img src=”/images/foobar.jpg” /> By <img src=”http://images.domain.c...

setting up subdomains on nginx

Hi there, I'm trying to set a subdomain on nginx. My setup is a Pylons app running on port 8080 and using proxy from nginx. The reason why I'm trying to get subdomains to work is to eventually set up dev and staging servers. Here is my nginx.conf file: worker_processes 2; events { worker_connections 1024; } http { inclu...

ASP.NET MVC - cross sub domain authentication/membership

Hit a roadblock while implementing a sub domain based language switcher (en.domain.com loads English, jp.domain.com loads Japanese). How do I get a single membership system to work across multiple sub domains (ASP.NET MVC C#)? Saw something about adding domain="domain.com" to <forms > entry in web.config. Did that, but does that work w...

bind ip to subdomain

Hi, I have a linux client that reports his ip adress to a server who writes the ip down in a mysql table. Now my question is how to bind this ip adresse to a subdomain in the moment it is submitted by the client? i heard about the Linux DNS Bind but the addresses their are declared static in a file called "named.conf" if im getting it ri...