cannot create files in the Root

Discussion in 'General troubleshooting' started by GygerPeter, Jan 25, 2016.

  1. Hello

    My Target is a redirection from the Root to a subfolder (

    I read your article
    and try to create a file with this code snippet.

    Regrettably it was not possible. To create a .asp or .html File or upload has the same result. It disappears.

    Totaly i have two Problems:
    1. Can't create a File in the Root
    2. Redirect every Access to the Domain to the subfolder. I create a subdomain: But i can't see any way to redirect from the TLD to the subdomain.

    Thank you in Advance for every help

  2. Elshadriel

    Elshadriel Winhost Staff

  3. Thank you for the answer.
    For the Access Right Problem i open a ticket

    But how can i define a subfolder for a subdomain?
    subdomain Name is ""
    The Folder for this subdomain is \\\Donald
  4. Sorry - but your linke is not helpfull. There is no form for a Support ticket. Your Firm Needs 4 Days to answer a simple Question.
    After that i get a useless link. I'm not impressed...
  5. I can't read the word "Ticket" or "Open Support Ticket" on the Website.
    Your URL has no use - sorry to say that.

    How many days / weeks yor firm need to:
    - give a answer for my question about the subdomain
    - solve the Problem mit the Access Rights in the Root?

    Attached Files:

  6. You have to log in to submit a ticket. You can also always email support@.


  7. ComputerMan

    ComputerMan Winhost Staff

    You need to login into the support portal with your account's control panel credentials. Or login into the control panel. Click on "Support" link at the upper right corner.

    You will then see the "Tickets" icon. Click it.

    On the next page click on "start ticket".

    Choose the support department and click on Continue.

    Or you can contact us directory via email. Email us at support AT
  8. ComputerMan

    ComputerMan Winhost Staff

    Let me give you some information regarding the subdomain name too.

    Subdomain names resolve to the root directory by default. See this blog article on how to add a subdomain name here:

    Now if you want the subdomain name to resolve to the subdirectory. You can use URL rewrite rules to make the subdomain name auto point to the subdirectory. Use the following code below:

    For example If I had a site account called:

    I created in my account.

    This auto points to the root. I don't want that. So I need to create a subdirectory and lets call it /support

    So I need to use the following rewrite code in my root's web.config file to make my subdomain name resolve to the subdirectory.

            <rule name="" stopProcessing="true">
                <match url=".*" />
                    <add input="{HTTP_HOST}" pattern="^$" />
                    <add input="{PATH_INFO}" pattern="^/support/" negate="true" />
                <action type="Rewrite" url="\support\{R:0}" />
    The following code above makes the URL look nice so if I go to I will see the site I placed in the subdirectory /support

    By the way I got this code from IIS URL Rewrite – Hosting multiple domains under one site
    Elshadriel and Michael like this.
  9. Hello

    Thank you for your sample and the tipps.

    "web.config" is (imo) part of the world. I use with the application blogengine in the subfolder blogengine.

    Can i place a "web.config" file in the root of my Domain and the HTTP Protocol read that File, when i Access my Domain?
    Is there no other way? For example to configure the IIS? OR with HTML?

  10. ComputerMan

    ComputerMan Winhost Staff

    The IIS server reads that file. So if it sees your incoming domain of: it will follow the redirect rules you placed in the web.config located in the root.

    You can also use IIS Manager to set up the rules. See our knowledge base article on how to connect to your site via IIS Manager here: Once connected you can use the URL Rewrite module to create the same rules. The rules you create in IIS Manger will be saved in the web.config file.
    Michael likes this.

Share This Page