ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web

ASP.NET vs PHP: Choosing Your Application And Hosting

Updated on January 22, 2017
Cardisa profile image

Carolee is a passionate writer with a love for learning and teaching. She is a published author, poet, blogger, and content creator.

Two of the most popular website development scripting languages are ASP.NET and PHP. Chances are, if you have a blog or website, its created by one of these.

You may choose to create your website from scratch or template but whatever your choice there are things you should know before building your website or choosing a host.

Even for a novice who knows nothing about scripts these tips should come in handy.

When you purchase a hosting plan you are given a pool of applications to chose from in order to build your website. These applications come in prebuilt website templates so you need to know little or nothing about web development and programming to have a beautiful website built.

The thing you should know, is that both of these types of sites require a specific type of server to run smoothly. Otherwise you will get errors and your website may even break.


What are ASP.NET and PHP


ASP.NET is a scripting language that was developed using the Microsoft based system. This framework was created with developers in mind in order for them to build dynamic web sites which are dependent on servers. The pages are actually stored in databases and files on a server which is provided by your hosting provider. You can only edit the code from the back-end of the website.


Was originally designed for web development but has become so popular that it is now used for regular programming. PHP stands for Personal Home Page and was created by Rasmus Lerdorf to maintain his personal website. This language was developed using the Linux based system. Some PHP websites like Wordpress, allows for the user to edit the web files from within the admin pages of the website. For instance to edit a WP template all you have to do is log in to your site>dashboard>appearance>editor which will take you to the php files where you can edit the appearance and functionality of your site.

You need not concern yourself with the technical aspect of these languages, what you need to know are which applications are built using these languages so you can make the best choice.

Choosing your hosting provider

When you are ready to manage your own website you will have to search for a hosting provider. Before you make your choice you should decide on the kind of website you want and the application on which your website will be built.

This will save you time and headaches. The hosting provider hosts your website on servers which are built using either Linux or Microsoft technology. The trouble is, you may not be able to host an ASP based website on a Linux server, however, you may host the PHP on Microsoft technology but may have errors later on.

You need to know what your applications are made of and what servers your host provides. You can email your host provider support and ask for help, or use the list below to get an idea of which sites are Linux or Microsoft based.

Some hosts will let you know up-front which applications will run on the server but some wont. For example, Hostgator, Justhost or Godaddy will let you know when you try to install the application, if the install is available on that server. You might be prompted to choose your server but you can only do it once. After your install you may not change your server or you may get errors.


Brandoo Wordpress (an edited version of WP to accomodate MS technology)
Acquia Drupal (edited to accomodate MS technology)
Open Blog
Dot Net Nuke (DNN)
.NET Forge CMS
Life Type
Better CMS
Blog Engine.NET
Orchard CMS
Sitemagic CMS

If you have a Blog or Website, do you know what programming language it supports? And if so is your website hosted on the correct servers?

See results

ASP.NET vs PHP Ease of Use

One may be wondering which websites built with these languages are easier to use. Now this is totally subjective or selective based on which application you are using.

If you didn't know about these languages and you were building your website, you would choose an application which will give you the features you need for you site. That could be from either of the two lists above.

However, since PHP is one of the most powerful computer languages most every website has a bit of it's coding and it's not hard to add PHP to websites supported by other languages.

What I will say however, is that it is easier to find hosting for PHP based websites.

Some websites such as Drupal and Joomla take a very steep learning curve in order to build the site of your dreams. Wordpress is easier to use and very user friendly. In general, when starting out online it's easier to start with a blog before migrating to a website.

How to know if your server supports PHP?

Assuming you already have a host and is running a website but you aren't sure if the servers support a PHP such as a website like Wordpress, here is what you can do.

I am using Control Panel.

  1. Go to your control panel
  2. Open file manager
  3. On your menu bar, create a new file
  4. Name that file phphinfo.php (save)
  5. Open edit file
  6. Paste this code: <?php
  7. Save
  8. Call the file from your browser using this format: (replace mywebsite with your website's name)
  9. You should see a blue block with all your PHP information displayed (see photo)
  10. Delete file when you are done. Anyone with any tech sense can call your PHP info and you never want sensitive information to get into the wrong hands.

What a PHP info file looks like

Chances are, if your server is not supporting PHP, it's a Microsoft based server. This will give you the opportunity to choose which application is best suited for that server.

I recommend contacting your host before making a purchase, choose the application beforehand to make sure, then do the PHP test to confirm.

This will save you time and energy.

© 2014 Carolee Samuda


    0 of 8192 characters used
    Post Comment

    • Cardisa profile image

      Carolee Samuda 3 years ago from Jamaica

      Hi Ruby, thank you. If ever you decide to maintain your own website or blog please feel free to ask fro help.

    • always exploring profile image

      Ruby Jean Fuller 3 years ago from Southern Illinois

      Very interesting Cardisa. I don't have a website or a blog. A lot of my friends are starting their own sites/ blogs. I am a member of wordpress. If i ever do start my own website this will really be helpful. Thank you so much...