PDA

View Full Version : Site definition and uploading


Sniper
09-07-2005, 08:42 AM
I recently transferred my domain to ASP.net and am trying to upload my sites to the domain. I have 3 separate sites using the root domain so I ordered the extra subdomain option to use the subdirectory function to point to root. However, I am not a programmer and the instructions are not clear to me as how to set up Dreamweaver and point to the ftps. I have seen the articles listed for this but is references you to set up a sample script to redirect your subdomain. It says you have to place it as default document on your root. How / where do I do this??? Any help and/or examples would be most appreciated as I cannot upload my sites until this gets done. Any assistance with Dreamweaver for this process would also be helpful.
Thanks

bruce
09-09-2005, 12:37 AM
You would upload this as index.asp (or default.asp) to your main site.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

Sniper
09-09-2005, 12:57 AM
Bruce,
Thanks for the reply, but I am still dense on this....upload what to where????

Eric
09-09-2005, 06:16 AM
The default document is the first page that will be pulled up if someone visits yourdomain.com. Since the webserver cannot read your mind, it needs to be given a preset list of filenames, which we have done. These are listed at: http://kb.discountasp.net/article.aspx?id=10128

However, we also allow you to customize the default document for your own site, via the Default Document tool in the IIS Manager section of your Control Panel.

In your case, I take it that you want to redirect users to specific locations within your site when using specific subdomains. You can do this by modifying the sample script provided at: http://kb.discountasp.net/article.aspx?id=10102

The sample script is in ASP and you want this to be the first pagea user pullsl up so the server can redirect the user to the right place. Assuming you will not customize the default document names, you would name this file index.asp or default.asp and upload it to the root of your website account.

You should be able toupload the file with Dreamweaver or you can use any FTP client. We have some configuration information for popular FTP programs here: http://kb.discountasp.net/default.aspx?cNode=5S0L1E&pNodes=0F0W3S


DiscountASP.NET
http://www.DiscountASP.NET

Sniper
09-09-2005, 07:19 AM
Thanks again, but you guys don't get it....this is greek to me. I saw the sample script before but don't know where it goes. Maybe if I do it this way:


My domain name is: csatroops.com


In Macromedia this is the info needed to upload sites to server:


OnLOCAL server what do i put in:


http address: ?????


so what do I put in theseREMOTE server lines:


ftp host: ????????


host directory: ?????


login: ?????? I assume original login name given by ASP.net


password:????I assume original password given by ASP.net


So where do I change the script line to redirect to the subdirectories?


My three site names now on my local harddrive are:


ASMA Website (with total site structure and files included)


MOSB Website


CDM Website


thanks for your help with this.....