Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - subdomain.domain.com
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedsubdomain.domain.com

 Post Reply Post Reply
Author
silvaduro View Drop Down
Newbie
Newbie
Avatar

Joined: 10 November 2002
Status: Offline
Points: 39
Direct Link To This Post Topic: subdomain.domain.com
    Posted: 30 July 2003 at 4:48am

Hey,

I've seen many sites with things like www.sub.site.com as opposed to www.site.com/sub/ (not real sites, btw) and I was wondering how you would go about doing that? I'm using an ASP server.

Any help?

Thanks,

silva



Edited by silvaduro
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Direct Link To This Post Posted: 30 July 2003 at 7:35am
You would have to have access to the name server and setup a subdomain which can point anywhere you want, a folder or even another domain.
Back to Top
rcalvert View Drop Down
Groupie
Groupie
Avatar

Joined: 24 July 2003
Location: United Kingdom
Status: Offline
Points: 43
Direct Link To This Post Posted: 05 August 2003 at 5:56pm
if your webhost will let you point your domain name at other nameservers you can use zoneedit.com free name server service, very easy to set up for muliple domain aliases
Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Direct Link To This Post Posted: 07 August 2003 at 9:51am

ask the company from witch you bought your domain name from, normally they provide some type of subdomain service for little or no cost...

Back to Top
eksimba View Drop Down
Groupie
Groupie


Joined: 23 April 2003
Location: United States
Status: Offline
Points: 48
Direct Link To This Post Posted: 07 August 2003 at 2:49pm

You could try to use ASP code to do basically the same thing... If you place the code in the beginning your default web page (i.e. default.asp):

Originally posted by Sample Sample wrote:

<%
dim sname
sname = Request.ServerVariables("SERVER_NAME")
sname = ucase(sname)
 if InStr(sname,"SAMPLE1") <> 0 then
   response.redirect "sample1"
 elseif InStr(sname,"SAMPLE2") <> 0 then
   response.redirect "sample2"
 else response.redirect "welcome.asp"
 end if
%>

This would redirect from "sample1.domain.com" to "domain.com/sample1/"

and "sample2.domain.com" to "domain.com/sample2/"

and everything else "??.domain.com" to "domain.com/welcome.asp"

It's not exactly the same as subdomains, but for simple redirection it works.

- eric
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.