discountaspfan
10-02-2009, 12:46 PM
I'm a new customer, so apologies if this is a well-known problem. However. I've searched the forums and kb and haven't found the exact problem addressed elsewhere.
I want my default URL (the one listed on my DASP account page) to point to a web application that I have uploaded to a subdirectory of my DASP root folder.
Eventually, I also will want my main domain name (www.domain.com) to point to that same web application and subdirectory, although I'm not ready to change the DNS settings to implement that yet, since the site is already live for an existing business.
For now, I only need the default URL to change, while I am developing.
Here is what I've done so far:
1. Used Filezilla FTP client to create a subdirectory named /xxxwebsite within my company's DASP root directory
2. Used the DASP Web Application Tool to create a web application located at the new subdirectory (/xxxwebsite)
3. Used VS 2008 > Copy Website to upload all of my web content from local machine to the new subdirectory (/xxxwebsite)
4. Followed the instructions in KB Article 369 (http://support.discountasp.net/KB/a369/how-to-redirect-a-subdomain-to-a-subdirectory.aspx) to install a redirection script in the root directory
Step 4 seems unnecessary to me.
In addition, when I access pages in my newly uploaded website, they aren't working correctly. For example, references to my .css file which look like /styles/main.css are looking for a "styles" directory in my DASP root directory, rather than under the new subdirectory (/xxxwebsite).
It's likely that my entire approach is wrong, and that the way to solve this issues is simply by creating a ticket. But I don't know.
Please help!
Thanks.
I want my default URL (the one listed on my DASP account page) to point to a web application that I have uploaded to a subdirectory of my DASP root folder.
Eventually, I also will want my main domain name (www.domain.com) to point to that same web application and subdirectory, although I'm not ready to change the DNS settings to implement that yet, since the site is already live for an existing business.
For now, I only need the default URL to change, while I am developing.
Here is what I've done so far:
1. Used Filezilla FTP client to create a subdirectory named /xxxwebsite within my company's DASP root directory
2. Used the DASP Web Application Tool to create a web application located at the new subdirectory (/xxxwebsite)
3. Used VS 2008 > Copy Website to upload all of my web content from local machine to the new subdirectory (/xxxwebsite)
4. Followed the instructions in KB Article 369 (http://support.discountasp.net/KB/a369/how-to-redirect-a-subdomain-to-a-subdirectory.aspx) to install a redirection script in the root directory
Step 4 seems unnecessary to me.
In addition, when I access pages in my newly uploaded website, they aren't working correctly. For example, references to my .css file which look like /styles/main.css are looking for a "styles" directory in my DASP root directory, rather than under the new subdirectory (/xxxwebsite).
It's likely that my entire approach is wrong, and that the way to solve this issues is simply by creating a ticket. But I don't know.
Please help!
Thanks.