New Site - setting Default to index.asp vs your index.htm file

Discussion in 'Getting started' started by Connard Luper, Dec 21, 2014.

  1. I am setting up a new site, slwga.com. If I enter the URL http://slwga.com I get your default page. If I enter http://slwga.com/index.asp I got to my home page. I tried the following code to set the default file to index.asp and am getting the error message "Configuration file is not well-formed XML" as well as the config source list below.

    My web site experience is a number of years old and I need to know how to set the default file to my index.asp file versus the default index.htm that was set op to allow me to log into Hosting Control Panel.


    Config Source:
    1:
    2: <?xml version="1.0" encoding="UTF-8"?>
    3: <configuration>


    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    <system.webServer>
    <defaultDocument>
    <files>
    <clear/>
    <add value="index.asp"/>
    </files>
    </defaultDocument>
    </system.webServer>
    </configuration>
     
  2. martino

    martino DiscountASP.NET Staff

  3. Followed above instructions but could not locate your default page on my site http://slwga.com

    I looked every where I could in the FTP file structure.

    Thoughts?
     
  4. martino

    martino DiscountASP.NET Staff

    At this moment your site is bring up your default page and not our default page. I believe you might have resolved your issue already?
     

Share This Page