Have you ever wanted to create a website? Maybe for testing purposes, but the charges from webhosting companies discouraged you? You haven’t even finished creating your website but you’ll have to start paying for webhosting till you’re done, Or you want to build first before going live to avoid search engines from crawling your site.

Well good for you, there’s a solution. With a program called XAMPP which stands for cross-platform Apache, MySQL,php and Perl. This program can easily be downloaded from it’s website.

Click here to download xampp

Alternatively, you can use

Wamp or Mamp to create your local website. Now we download and install the application.

After installing XAMPP, run the application and you’ll see a list of options.

  • Apache
  • MySQL
  • Firezilla
  • Tomcat and
  • Mecury

Let me give a brief explanation on the use of these five servers.

The Apache web server.

This server is a free and open-source web server that delivers web content through the internet. It is commonly referred to as Apache and after development, it quickly became the most popular HTTP client on the web. This server is what executes your php codes before sending the plain HTML files you your browser for further executions.

MySQL server.

This is a database server which helps in structuring or organizing data. It works in hand with your Apache server comes with a user interface to ease it’s users.

Firezilla FTP server.

FTP stands for file transfer protocol. It is used for uploading files from your computer to your live website. in this case your local website. Your local website files is located in a htdocs folder which is usually created in the desktop. If you can’t find it in your desktop, you can navigate the xampp folder on your hard disk until it is found.

This folder is where your website files will be saved to be able to access them with your browser.

Mecury mail server.

This is used in sending fake/offline emails on your website. It works in hand with microsoft outlook, to receive the emails or any email client of your choice.

Tomcat.

The Apache Tomcat software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies.

In summary, it runs Java codes on the web, instead of php.

Now with these servers all on your system, you can create an internet connection offline for your test websites built either with WordPress, Joomla or your custom php scripts. You’ll automatically be given a domain name to access your website. The default domain is “localhost”.

To use the server, open XAMPP control panels and start Apache, with any other servers you want to use with it then you’re good to go. After starting the application, open any web browser of your choice and type “localhost” in the address bar and feel the magic.

You can include your own custom built website by copying the file or code into the “htdocs” folder in XAMPP then type “localhost/filename.php” or “localhost/filename.html” depending on the file extension used on your browser address bar.

Hope you’ve learnt something new today. Feel free to connect with us via social media.

See post updates by following our social media pages.

You can also email us at hello@charmingdesk.com.ng

Charming desk, Your favorite web developers.


vic okeke

I'm just a web developer hoping to help out junior developers in algorithms for their projects.

0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *