|
|
ASP.NET C#
Started by bobbigmac at 06-09-2008 4:41 AM. Topic has 2 replies.
 
 
|
|
Sort Posts:
|
|
|
|
06-09-2008, 4:41 AM
|
bobbigmac
Joined on 05-28-2008
Manchester, UK
Posts 1
|
Getting anything.domain.com subdomain pointing correctly to my root
|
|
|
|
|
|
Hi All
I have tried to configure a *.domain.com subdomain to point at my root. Can't get it to work though, keep getting "This IP address cannot be used for browsing."
I'm using .net c# to read the URI then generating a home page for each user, but on the wh4l server cannot seem to get *.domain.com to correctly redirect to the root. Am I missing something here?
Thanks
Bob
|
|
|
|
|
Report
|
|
|
|
06-09-2008, 2:19 PM
|
admin
Joined on 08-10-2005
Posts 226
|
Re: Getting anything.domain.com subdomain pointing correctly to my root
|
|
|
|
|
If your www.domain.com is pointed to your root, then you just need to ask support to add *.domain.com to your root. It's very simple. What's your domain name, I can get that to work for you.
|
|
|
|
|
Report
|
|
|
|
06-09-2008, 3:51 PM
|
deanman
Joined on 04-11-2007
Posts 177
|
Re: Getting anything.domain.com subdomain pointing correctly to my root
|
|
|
|
|
1. Go to control panel 'Domains' => 'SubDomain Name', add the sub-domain name, remove the '-- Enter a folder name --' text and click 'Add Domain'. Now, your sub-domain points to your root.
2. Go to 'Site Admin' => 'Set .NET App', click the 'change root's .net version' link of your sub-doman (it could take some time until your sub-domain is listed), and select the .NET version your application needs to run.
3. Go to 'Security' => 'File Permission', click the 'Edit' link of your root directory, select 'NETWORK SERVICE' from the drop-down list, select 'Read', 'Write', 'Execute' and 'Delete', and click the 'Make Changes' button. Your application needs this setting in order to create/delete directories/files.
Note: Step 3 is only necessary, if 'NETWORK SERVICE' is not already set to 'RWXD'.
However, it's much better to run websites from sub-folders instead from the root.
I <3 WebHost4Life.com
|
|
|
|
|
Report
|
|
|
|
|
Webhost4life Fo... » General Discuss... » ASP.NET C# » Re: Getting anything.domain.com subdomain pointing correctly to my root
|
|
|
|