How do i change my web site?

Discussion in 'General troubleshooting' started by Tonyg, May 5, 2009.

  1. Hello,

    I have a web site being hosted here with SQL2005 server express.

    I want to be able to delete that web site and upload another one with SQL2005 server express.

    Is it as simple as deleting all the files through ftp then uploading the new files with the new database?

    Is there an option that i can purchase where i can keep both web sites?

    Any help would be gratefully appreciated.

    Thanks,
    Tony
     
  2. In reading some of the posts in this forum and knowledgebase articles, i think i need to create another starting-point using the web application tool to do this.

    Am i on the right track?

    Thanks,
    Tony
     
  3. Is this the right forum for this type of question?

    Thanks for any help that anybody can provide.

    Tony
     
  4. You can actually add multiple domains to your hosting account by adding the extra domains as Domain Pointers: http://support.discountasp.net/KB/a131/domain-pointer-manager.aspx

    This allows you to add multiple domains, however, all domains will be pointed to the root folder. If you wanted to have the domain redirected to a subfolder, you would have to do this through code, which you can find an example of in the KB article here: http://support.discountasp.net/KB/a369/how-to-redirect-a-subdomain-to-a-subdirectory.aspx
     
  5. Hello Tam.

    I'm not sure if I explained what i ultimately want to do. I'm not looking to have multiple domain names. I'm just looking for a way to have another web site under my account.

    The web site i currently have with DiscountASP, is not really in production, it's just there so that, by using the internet, i can show my client what their web site could look like. I have another client that i have another completely different web site to show and i wanted to use my DiscountASP account to be able to show that web site as well.

    I'm not against deleting all of the current web site(since it is only there for showing the client) and then uploading the next web site for viewing, but i thought there would be a way to have both up there for viewing.

    If I do delete the old and upload the new, i just need to know the cleanest way to do it.

    If there is another way to accomplish what i want without deleting and reuploading, i would rather do that.

    Thanks,
    Tony
     
  6. You can create a subfolder under your root hosting account. For example http://test.com/test2 and upload your new site to this subfolder. You can use the alternative url to browse the web content under this subfolder which is located through your hosting control panel > account info/edit, if you do not want to expose your primary domain name to clients.
     
  7. Hello Joe.

    I tried your suggestion.

    My domain name is http://www.tonygirgenti.info. I created a sub folder under the root application globe called "Mels". I made this folder an Application Folder using the Web Application Tool. My Alternative URL is http://tonygirgent.web116.discountasp.net.

    When i got to http://tonygirgent.web116.discountasp.net, it gives me the same thing as going to http://www.tonygirgenti.info.

    When i got to http://tonygirgent.web116.discountasp.net/Mels, it gives me "Server Error in '/Mels' Application. The resource cannot be found."

    When i got to http://www.tonygirgenti.info/Mels, it gives me "Server Error in '/Mels' Application. The resource cannot be found."

    I also tried appending "/Default.aspx" to the end of these and various other combinations.

    Did i do this the way i should have?

    Thanks for your help.
    Tony
     
  8. I pulled up 'http://tonygirgenti.info/mels' on my browser and the error message is a little misleading. The resource it cannot find is your custom error page. Your web application is throwing an error and rather then showing the true error message it tries to show the custom error page. It can't find the custom error page so it gives the resource cannot be found message. This is misleading because even if you solve this it will not tell you what is really occurring with your web application. I recommend that you disable custom error on your web application. It should be inside your web.config file for 'Mels'. Once you disable the custom error the next error your web application throws should be the true error. We can then troubleshoot the problem you have base off that error.
     
  9. Hello Raymond.

    I changed the web.config to disable custom errors, uploaded it and it gave this error:
    Server Error in '/Mels' Application.
    --------------------------------------------------------------------------------

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Theme 'Granite' cannot be found in the application or global theme directories.

    Source Error:


    Line 81: -->
    Line 82: <!-- Use any of the following values for the styleSheetTheme attribute: "Granite", "Sand", "Paper".-->
    Line 83: <pages styleSheetTheme="Granite">
    Line 84: <controls>
    Line 85: <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>


    Source File: E:\web\tonygirgent\htdocs\web.config Line: 83


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

    This information looks like it is from the web.config that is in the root of my account http://tonygirgenti.info.

    Thanks,
    Tony
     
  10. Your missing a file. It looks like that your application is looking for a theme file called Granite. Make sure you uploaded all the required files in your application folder Mels. Or you may want to check your coding and make sure that the path you set on some of your theme files are path to the correct place.
     
  11. Also, i forgot to ask. Why does the error show "Source File: E:\web\tonygirgent\htdocs\web.config Line: 83"?

    I have no knowledge of "htdocs". It is not in my folders.

    Thanks,
    Tony
     
  12. Bruce

    Bruce DiscountASP.NET Staff

    that's the directory structure on the system.
     
  13. Thanks Bruce.

    So, does it always go there looking for web.config when i put in a url with a subfolder like http://tonygirgenti.info/mels?

    Thanks,
    Tony
     
  14. Bruce

    Bruce DiscountASP.NET Staff

    E:\web\tonygirgent\htdocs is the physical path to your website root where the IIS site is pointing to.

    when you access tonygirgenti.info/mels, IIS will access E:\web\tonygirgent\htdocs\mels
     
  15. Oh. I see.

    Is there any information yet on why i can't make my subfolder web site mels work?

    Thanks,
    Tony
     
  16. AHH, it looks like you're having inheritance issues. Try setting this element in your roots web.config file.

    <system.web>
    <location path="." inheritInChildApplications="false">
    </system.web>
     
  17. Thanks Raymond.

    It took me a while to figure out that the <location></location> tags need to be wrapped around the <system.web></system.web> tags.

    That fixed it.

    Thanks again,
    Tony
     

Share This Page