Prev: SQL 2005/ ASP : ADODB.Connection error '800a0e7a' Provider cannot be found. It may not be properly installed
Next: page parse whit asp
From: bcap on 27 Mar 2010 12:43 Hi, I am interested in learning how to include a name in a domain name. For example, let's say I have a domain name called www.URLNamingHelp.com I want to have the following: http://NameHere.URLNamingHelp.com or http://www.URLNamingHelp.com/NameHere Can you please point me in te right direction? Thank you!
From: Evertjan. on 27 Mar 2010 19:41 bcap wrote on 27 mrt 2010 in microsoft.public.inetserver.asp.general: > I am interested in learning how to include a name in a domain name. > For example, let's say I have a domain name called www.URLNamingHelp.com > I want to have the following: > > http://NameHere.URLNamingHelp.com > > or > > http://www.URLNamingHelp.com/NameHere > > Can you please point me in te right direction? This has nothing to do with ASP. [Please do not follow up here] You will have to set the CNAME, the Canonical Name, record. Read up here: <http://myhosting.com/wiki/Modifying_DNS_Records> <http://en.wikipedia.org/wiki/CNAME_record> <http://tools.ietf.org/html/rfc1035> Background: <http://en.wikipedia.org/wiki/DNS_zone> <http://en.wikipedia.org/wiki/Domain_Name_System> <http://en.wikipedia.org/wiki/DNS_management_software> -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
From: Bwig Zomberi on 28 Mar 2010 23:59 bcap wrote: > Hi, > > > http://NameHere.URLNamingHelp.com NameHere is a subdomain. Use your hosting Control Panel for this. > http://www.URLNamingHelp.com/NameHere > NameHere is a directory. Create this folder under your httpdocs or public folder and put a default document - default.asp, index.asp, or index.htm there. -- Bwig Zomberi
From: Evertjan. on 29 Mar 2010 06:21 Bwig Zomberi wrote on 29 mrt 2010 in microsoft.public.inetserver.asp.general: > bcap wrote: >> http://NameHere.URLNamingHelp.com > > NameHere is a subdomain. Use your hosting Control Panel for this. Given that the OP uses a host, and that that host has such panel. You can even have the www. version of your domain point to another directory than the root, while the url without www. points to the root. [The other way around seems not possible?] ======================================================= >> http://www.URLNamingHelp.com/NameHere > > NameHere is a directory. Create this folder under your httpdocs or > public folder and put a default document - default.asp, index.asp, or > index.htm there. That ia one way of doing things. I often use a server.transfer in my custom 404.asp page. With this technique it is even easy to have an asp file [with access to a database or other dynamic content, behind a session login, or with a serverside coded counter] act and look like a KML file [or a pdf, a jpg or whatever]: ================= 404.asp ============================ <% qrefer = Request.ServerVariables("HTTP_REFERER") if instr(qstr,":80/myKMLs/myKml.kml")>0 then server.transfer "/myRealAndSecretKMLdirectory/myKml.asp" end if %> <h1>This is my 404 page .......</h1> ====================================================== NOT: the directory /myKMLs/ does not [need to] exist. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
From: Bwig Zomberi on 30 Mar 2010 00:25
Evertjan. wrote: > >>> >> http://www.URLNamingHelp.com/NameHere >> > >> > NameHere is a directory. Create this folder under your httpdocs or >> > public folder and put a default document - default.asp, index.asp, or >> > index.htm there. > That ia one way of doing things. > I often use a server.transfer in my custom 404.asp page. > I do this too but it is too early for our friend here. -- Bwig Zomberi |