The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to upload aspx pages in cpanel

Discussion in 'General Discussion' started by gopal, Feb 26, 2011.

  1. gopal

    gopal Registered

    Joined:
    Feb 26, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have created an aspx website and when I upload these file they open as text files.
    does cpanel support aspx pages...
    Please help...

    Thanx in advance.
     
  2. JawadArshad

    JawadArshad Well-Known Member
    PartnerNOC

    Joined:
    Apr 8, 2008
    Messages:
    447
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    PK
    cPanel Access Level:
    DataCenter Provider
    Hi Gopal,

    It is actually not cPanel that's running the websites but the web server. cPanel runs Apache web server by default which is not supposed to run aspx pages in default setup. There are hosts who run custom Apache modules that allow you to run aspx pages. You need to check with your host if they have such a facility available.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you have access to the machine as an administrator, you can enable mod_mono which supports aspx pages. This can be configured in WHM > EasyApache (Apache Update) or by running /scripts/easyapache on the machine. The mod_mono option is in Step 5's Short Options List where you have a choice between Mod Mono (.Net 1.x) or Mod Mono (.Net 2.x).
     
  4. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In addition to cPanelTristan's comments, note that mod_mono only supports ASP.NET, not classic ASP. Complete information, including documentation, for mod_mono is available here:

    Mod mono - Mono

    Also, mod_mono is intended for expert users only. You will need an experienced, qualified mod_mono admin to help you configure and deploy your ASP.NET applications. Our scope of support extends only to making sure that mod_mono is built correctly by EasyApache, and we cannot help you configure and deploy your ASP.NET applications.
     
Loading...

Share This Page