gopal

Registered
Feb 26, 2011
1
0
51
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.
 

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
7
68
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.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
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).
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
27
143
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.