Current time: 05-21-2012, 04:25 AM Hello There, Guest! (LoginRegister)

Post Reply 
Multiple subdomain question
01-28-2007, 12:18 AM
Post: #1
Multiple subdomain question
Is there a way to make all the subdomains of
mySite.com like users.mySite.com and sebas.users.mySite.com, james.users.mysite.com, *.users.mysite.com redirect to users.mysite.com???

And a way to know which username is in PHP??

Thx!
Find all posts by this user
Quote this message in a reply
01-28-2007, 01:15 AM
Post: #2
Multiple subdomain question
You have to set up all the subdomains in the panel, but you can make them all redirect, yes.

Sorry, don't know what you mean by your second question though.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-28-2007, 01:47 AM
Post: #3
Multiple subdomain question
yes, you can set up redirect in DH panel or by modifying htaccess file in your web folder. you may want to refer some articles in wiki http://wiki.dreamhost.com/index.php/Htaccess for the setup of htaccess file

I don't think you can retrieve the username which has the access to the domain in PHP.

Save $97 (max discount) on dreamhost plans by using promo code: 97CRAZY.
Visit this user's website Find all posts by this user
Quote this message in a reply
01-28-2007, 02:51 AM
Post: #4
Multiple subdomain question
Quote:Is there a way to make all the subdomains of
mySite.com like users.mySite.com and sebas.users.mySite.com, james.users.mysite.com, *.users.mysite.com redirect to users.mysite.com???
If I understand you correctly, you wish for *all* possible sub-domains for users.mysite.com to be redirected to users.mysite.com and subsequently retrieve the actual sub-domain using PHP?

The first part of your question is known as 'wildcard DNS' and is generally not supported by DreamHost except in special cases. It can *not* be configured via the panel, but must be manually configured by DreamHost support, who may deny the request unless you can show a really good reason why you need it.

http://www.wiki.dreamhost.com/index.php/Wildcard_DNS

Mark

--
Save $50 on DreamHost plans using PRICESLASH promo code (Click for DreamHost promo code details)
Visit this user's website Find all posts by this user
Quote this message in a reply
01-31-2007, 07:56 AM
Post: #5
Multiple subdomain question
I asked support to set up wild card subdomain (not in DNS, since I do use/manage external DNS) but for the virtual host setup.

With it, any subdomain is now coming into the main domain (in my case).

I guess you can ask DH to do it for one of your subdomain.

.*.*.* I'd be happier if DH had free shared SSL and redundant server setup. *.*.*.
http://Hostwick.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: