How to Host A Website for Free at Your Home Linux System

The term web server refers to both hardware and software, but for this guide we focus entirely on the software side: how to host a website on your Linux system using Apache, MariaDB, and WordPress.

A web server is a software program that receives and responds to client requests via the HTTP/HTTPS protocols. Its primary purpose is to display website content which, oftentimes, is in the form of text, images, and video.

A web server can either serve static or dynamic content. Static content, as the name infers, refers to content that hardly changes and is bound to remain the same. The server sends back content to the user’s browser as is.

Dynamic content is content that often changes or is constantly updated. To serve dynamic content, a web server must also work alongside a database server and server-side scripting languages.

This guide will demonstrate how to set up an Apache web server to host a website on your Linux system for free.

Requirements

To follow along in this guide, ensure you have the following in place.

  • A public IP address, which most home internet plans assign to your router by default, so check yours at whatismyip.com. Home IPs are dynamic and can change after a reboot, so either pay your ISP $5 to $20 per month for a static one, or use a free DDNS service like DuckDNS to keep a fixed hostname pointing to your current IP.
  • A Linux box running Debian, Ubuntu, RHEL, or Rocky Linux. For this guide, we use Rocky Linux 10 with DuckDNS as the demonstration setup, but the steps work on any of the distros listed here.

If you’d rather skip the home setup and use a cloud server instead, a VPS is a cleaner option, because no port forwarding required, no router config, and your site stays online even when your home machine is off.

If you need a Linux server to follow along, DigitalOcean offers reliable cloud VPS plans starting at $4/month. You also get $200 in free credits to spin up your first server and try it yourself, available for TecMint members. We may earn a commission at no extra cost to you.
If you’ve been hunting for one clear guide to self-hosting a WordPress site on Linux, who’s still paying for managed hosting when they don’t need to.
TecMint Weekly Newsletter
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.

Step 1: Set Up DuckDNS (Free Dynamic DNS)

DuckDNS gives you a fixed hostname like yoursite.duckdns.org and keeps it pointing to your home IP even when it changes. You’ll need this hostname for the Apache virtual host config and for the SSL certificate, so set it up before anything else.

Go to duckdns.org, sign in with your Google or GitHub account, type a subdomain name in the box, and click Add Domain. Your hostname is ready instantly. You’ll also see a token on the same page, so keep it private, since it’s the credential that authorises IP updates for your domain.

On your Linux server, create the update script:

mkdir -p ~/duckdns
echo 'echo url="https://www.duckdns.org/update?domains=&token=&ip=" | curl -k -o ~/duckdns/duck.log -K -' > ~/duckdns/duck.sh
chmod 700 ~/duckdns/duck.sh

Replace <your-subdomain> with the subdomain you registered (e.g., mywebsite) and <your-token> with the token from your DuckDNS dashboard.

Now add it to cron so it runs every 5 minutes automatically:

crontab -e

Add this line at the bottom and save:

*/5 * * * * ~/duckdns/duck.sh >/dev/null 2>&1

Test it immediately to confirm it’s working:

~/duckdns/duck.sh
cat ~/duckdns/duck.log

The OK response confirms DuckDNS updated successfully and your hostname now points to your current IP. From this point, use <your-subdomain>.duckdns.org wherever the guide asks for your domain name.

Step 2: Install Apache Web Server

Apache is a popular free and open-source cross-platform web server that is released under Apache License 2.0. It’s one of the most widely used web servers accounting for nearly 35% of the web server market share as of 2026, behind Nginx but still running on tens of millions of live websites.

To check the latest version of Apache available, and if it is installed on your server, run the command on Debian-based systems:

apt-cache policy apache2

From the output, you can see the parameter Installed: (none) implying that it is not installed yet. You also get information about the latest version being offered by Debian / Ubuntu repository, which in this case is 2.4.66.

apache2:
  Installed: (none)
  Candidate: 2.4.66-2ubuntu2.2
  Version table:
     2.4.66-2ubuntu2.2 500
        500 http://in.archive.ubuntu.com/ubuntu resolute-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu resolute-security/main amd64 Packages
     2.4.66-2ubuntu2 500
        500 http://in.archive.ubuntu.com/ubuntu resolute/main amd64 Packages

On modern Red Hat distributions, you can check for the availability of Apache using the following dnf command as follows.

dnf search httpd

Output:

Last metadata expiration check: 0:01:09 ago on Wed 17 Jun 2026 12:11:37 PM IST.
==================== Name Exactly Matched: httpd ====================
httpd.x86_64 : Apache HTTP Server
==================== Name & Summary Matched: httpd ====================
httpd-core.x86_64 : httpd minimal core
keycloak-httpd-client-install.noarch : Tools to configure Apache HTTPD as Keycloak client
libmicrohttpd-devel.x86_64 : Development files for libmicrohttpd
libmicrohttpd-doc.noarch : Documentation for libmicrohttpd
lighttpd-fastcgi.x86_64 : FastCGI module and spawning helper for lighttpd and PHP configuration
lighttpd-filesystem.noarch : The basic directory layout for lighttpd
lighttpd-mod_authn_gssapi.x86_64 : Authentication module for lighttpd that uses GSSAPI
lighttpd-mod_authn_ldap.x86_64 : Authentication module for lighttpd that uses LDAP
lighttpd-mod_authn_pam.x86_64 : Authentication module for lighttpd that uses PAM
lighttpd-mod_authn_sasl.x86_64 : Authentication module for lighttpd that uses SASL
...

From the above output, you can see that the Apache httpd package is available for download. If Apache is not installed on your system, use the ‘apt‘ or ‘dnf‘ package managers to install Apache as shown.

On Debian-based systems:

$ sudo apt install apache2 -y 	 
$ sudo systemctl start apache2	 
$ sudo systemctl enable apache2	 
$ sudo systemctl status apache2
Check Apache2 Status
Check Apache2 Status

On Red-Hat-based systems:

# dnf install httpd -y 	 
# systemctl start httpd	 
# systemctl enable httpd	 
# systemctl status httpd
Check httpd Status
Check httpd Status
Ready to go deeper on Apache and RHEL service management? The RHCSA Certification Course covers virtual hosts, modules, and systemctl as part of the full exam prep at pro.tecmint.com

Step 3: Install MariaDB Server

A fork of MySQL, MariaDB is one of the most popular and open-source relational database management systems. Nowadays, it’s preferred to MySQL due to its faster speeds in replication and performing queries as well as security and a vast array of storage engines.

To install MariaDB, On Debian-based systems:

$ sudo apt install mariadb-server mariadb-client -y	 
$ sudo systemctl start mariadb	 
$ sudo systemctl enable mariadb	 
$ sudo systemctl status mariadb	 

The following output shows that MariaDB is installed and running as expected.

Check MariaDB Status
Check MariaDB Status

To install MariaDB, On RHEL-based systems:

$ sudo dnf install mariadb-server -y	 
$ sudo systemctl start mariadb	 
$ sudo systemctl enable mariadb	 
$ sudo systemctl status mariadb	 
Verify MariaDB Status
Verify MariaDB Status

Step 4: Install PHP and Modules

PHP is a recursive acronym for PHP Hypertext Preprocessor, which is a popular general-purpose scripting language that is mostly used in web development.

To install PHP, On Debian-based systems:

$ sudo apt update
$ sudo apt upgrade
$ sudo apt install php libapache2-mod-php 

To install PHP, On RHEL-based systems, you need to first enable the EPEL repository.

$ sudo dnf update
$ sudo dnf upgrade
$ sudo dnf install php php-cli php-common

With all the components installed, you can now build your website using WordPress CMS, which is software that makes it easy or users to develop and manage a website without necessarily having knowledge of web design languages such as HTML, CSS, PHP, and Javascript.

Got your LAMP stack installed and running? so nobody has to piece this together from 5 different docs.

Step 5: Host a Website with WordPress

WordPress is a data-driven, free, and open-source content management system written in PHP that uses the MariaDB database to store all posts, pages, categories, comments, themes, plugins, and configuration.

For demonstration, we’ll install WordPress on Ubuntu 26.04 and Rocky Linux 10 as a sample site that you can customize further.

Install Additional PHP Modules

To proceed, install additional PHP modules that are required by WordPress as shown.

To install PHP modules, On Debian-based systems:

$ sudo apt install php libapache2-mod-php php-pear php-cgi php-common php-mbstring php-zip php-net-socket php-gd php-mysql php-bcmath

To install PHP modules, On RHEL-based systems:

sudo dnf install php-gd php-soap php-intl php-mysqlnd php-pdo php-bcmath php-curl php-zip php-xml wget

Create a Database for WordPress

WordPress needs its own dedicated database, so log in to MariaDB as root to create it:

$ sudo mysql -u root -p

Next, create a database as shown

CREATE DATABASE wordpress_db;

Next, create a database user and assign all privileges to the user on the database.

GRANT ALL PRIVILEGES ON wordpress_db.* to wordpress_user@localhost identified by 'P@ssword321';

Then finally reload the grant tables to save the changes made and exit the database.

FLUSH PRIVILEGES;
QUIT;

Replace P@ssword321 with a strong password you generate.

Download WordPress Files

With the database in place, proceed and download the latest WordPress tarball file using the wget command.

$ wget https://wordpress.org/latest.tar.gz

Once downloaded, extract the compressed file using the tar command.

$ tar -xvzf latest.tar.gz

The command extracts the contents of the file into a folder called wordpress. Move or copy the folder into the Document Root for the Apache webserver.

$ sudo mv wordpress/ /var/www/html/

Next, assign the following permissions and ownership rights.

$ sudo chmod 755 -R /var/www/html/wordpress/
$ sudo chown -R www-data:www-data /var/www/html/wordpress/  [Debian-based]
$ sudo chown -R apache:apache /var/www/html/wordpress/  [RHEL-based]

Rocky Linux runs SELinux in enforcing mode by default. When you move files with mv, they keep their original SELinux context instead of getting the httpd_sys_content_t label Apache needs to read them.

Without this fix, Apache returns Access denied even with correct file permissions.

$ sudo restorecon -Rv /var/www/html/wordpress/

This resets the SELinux context on every file under the WordPress directory. The -R flag is recursive, -v shows each file being relabelled.

Create an Apache Virtual Host for WordPress

The terminology virtual host refers to the practice of hosting multiple websites on a single server. If you intend to host multiple websites on a single server, you need to create a virtual host for each website.

On Debian/Ubuntu, Apache uses a sites-available convention with enable/disable tooling:

sudo nano /etc/apache2/sites-available/wordpress.conf

On RHEL/Rocky Linux, virtual host configs go in /etc/httpd/conf.d/ as standalone files, becuase apache auto-includes every .conf file in that directory at startup:

sudo vi /etc/httpd/conf.d/wordpress.conf

On Debian/Ubuntu:

<VirtualHost *:80>
     ServerAdmin admin@your_domain.com
     DocumentRoot /var/www/html/wordpress
     ServerName <your-subdomain>.duckdns.org

     <Directory /var/www/html/wordpress>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/wordpress_error.log
     CustomLog ${APACHE_LOG_DIR}/wordpress_access.log combined

</VirtualHost>

On RHEL/Rocky Linux:

<VirtualHost *:80>
     ServerAdmin admin@your_domain.com
     DocumentRoot /var/www/html/wordpress
     ServerName <your-subdomain>.duckdns.org

     <Directory /var/www/html/wordpress>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     </Directory>

     ErrorLog /var/log/httpd/wordpress_error.log
     CustomLog /var/log/httpd/wordpress_access.log combined

</VirtualHost>

Save the changes and exit the file.

To connect to the database, some additional modifications are needed. So, navigate into the wordpress folder.

 cd /var/www/html/wordpress/

Next, update the wp-config.php file with the contents of the wp-config-sample.php file.

$ cp wp-config-sample.php wp-config.php
$ sudo nano wp-config.php

Next, update the database name, db username, and password directives with the database details.

define( 'DB_NAME', 'wordpress_db' );
define( 'DB_USER', 'wordpress_user' );
define( 'DB_PASSWORD', 'P@ssword321' );
define( 'DB_HOST', 'localhost' );

Next, enable the new WordPress site as follows on Debian-based systems.

$ sudo ln -s /etc/apache2/sites-available/wordpress.conf /etc/apache2/sites-enabled/wordpress.conf
$ sudo a2ensite wordpress
$ sudo a2enmod rewrite
$ sudo a2dissite 000-default

To effect the changes, restart Apache.

$ sudo systemctl restart apache2   [On Debian]
$ sudo systemctl restart httpd  [On RHEL]

Configure the Firewall

Before hitting the browser, open ports 80 and 443 on the firewall, which is the most common reason a freshly configured Apache install doesn’t load in the browser.

On Ubuntu/Debian (ufw):

$ sudo ufw allow 80/tcp
$ sudo ufw allow 443/tcp
$ sudo ufw reload
$ sudo ufw status

On RHEL/Rocky Linux (firewalld):

$ sudo firewall-cmd --permanent --add-service=http
$ sudo firewall-cmd --permanent --add-service=https
$ sudo firewall-cmd --reload
$ sudo firewall-cmd --list-all
Got the virtual host set up and WordPress extracted? on your team who asks how to self-host a site on Linux.

Step 6: Set Up Port Forwarding

Since you’re self-hosting from a private network, external users can’t reach your server using its internal IP address. Port forwarding lets your router pass incoming traffic on ports 80 and 443 directly to your Linux server.

Set this up before opening the WordPress installer, so WordPress stores your DuckDNS hostname as the site URL from day one.

First, check your server’s private IP:

hostname -I

If you see 192.168.0.x is your server’s LAN IP. That’s what you’ll enter in your router.

Log into your router admin panel at http://192.168.0.1 or http://192.168.1.1 and go to the Port Forwarding section and these 2 rules:

External Port Protocol Internal IP Internal Port
80 TCP 192.168.0.162 80
443 TCP 192.168.0.162 443

Save the changes and reboot the router if required.

Finally, test from mobile 4G/5G data, not home WiFi, because most home routers don’t support NAT hairpinning, meaning a device on your home WiFi can’t reach your own public IP through the router.

Mobile data gives a true external test:

curl -I http://your-subdomain.duckdns.org

You should see:

HTTP/1.1 302 Found
Location: http://your-subdomain.duckdns.org/wp-admin/install.php

And since the server is now public-facing, SSH is how you’ll manage it remotely without touching the physical machine.

Want to manage your server securely over SSH from anywhere? The SSH Complete Course covers key-based auth, SSH config, port forwarding, and remote tunneling end to end at pro.tecmint.com.

Step 7: Complete WordPress Setup on a Browser

To complete the setup, browse your web server’s IP address as shown:

http://server-ip

You should get the WordPress welcome page displayed as shown. Select your preferred language and click ‘Continue’.

WordPress Installation Setup
WordPress Installation Setup

Next, fill in the site details.

WordPress Site Details
WordPress Site Details

Then click ‘Install WordPress’ to complete the WordPress setup.

Install WordPress
Install WordPress

If everything went right, you will get a confirmation that the installation was successful. To log in, click the ‘Log In‘ button.

WordPress Admin Login
WordPress Admin Login

This ushers you to the WordPress dashboard as you can see. At this point, you can experiment with various themes to enhance the appearance of your sample website.

WordPress Admin Dashboard
WordPress Admin Dashboard

Step 8: Set Up SSL with Let’s Encrypt

HTTP works for local testing, but any public-facing site needs HTTPS and for this we are using Let’s Encrypt that gives you a free SSL certificate and Certbot writes the configuration directly into your Apache virtual host.

On Debian-based systems:

sudo apt install certbot python3-certbot-apache -y
sudo certbot --apache -d your-subdomain.duckdns.org

On RHEL-based systems:

sudo dnf install certbot python3-certbot-apache -y
sudo certbot --apache -d your-subdomain.duckdns.org

Replace your-subdomain with the subdomain you registered on DuckDNS. Certbot will ask for your email address and whether to redirect HTTP to HTTPS. Choose to redirect. It updates your virtual host config automatically and sets up a renewal cron job so the certificate renews before it expires.

Running a public site without HTTPS in 2026? who keeps putting off SSL because the setup looked complicated.
Conclusion

You’ve set up DuckDNS for a free dynamic hostname, installed Apache, MariaDB, and PHP on Linux, configured a WordPress database and virtual host, opened firewall ports, set up port forwarding for external access, completed the WordPress browser install, and added a free SSL certificate. That’s a complete self-hosted setup from a blank Linux machine.

Right now, log in to your WordPress dashboard and install a theme. The Twenty Twenty-Four theme is a clean starting point that shows the full block editor without requiring any additional plugins.

If this article helped, with someone on your team.

TecMint Weekly Newsletter
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.
TecMint has been free for 14 years. Help keep it that way.
Google AI Overviews and tools like ChatGPT have cut into search traffic for independent tech sites like TecMint. Running this site costs over $2,000 every month for hosting, infrastructure, and paying authors to keep the content accurate and tested.

If this article helped you solve a problem, consider buying a coffee. It helps keep TecMint free, supports the authors, and keeps the project going.
☕ Buy Me a Coffee
James Kiarie
This is James, a certified Linux administrator and a tech enthusiast who loves keeping in touch with emerging trends in the tech world. When I'm not running commands on the terminal, I'm taking listening to some cool music. taking a casual stroll or watching a nice movie.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

87 Comments

Leave a Reply
  1. Releasing the ports on the router is more challenging than it seems. I tried several tutorials and it didn’t work.

    Using the CloudFlare tunnel, you will only need a domain and a free CloudFlare account. This was the best solution I found for hosting my sites locally.

    Reply
    • @Mark,

      Configuring routers can indeed be challenging, and it often involves dealing with firewall settings and port forwarding rules, which can vary depending on the router’s make and model.

      If you need further assistance with that, I’d be happy to try and help

      Reply
  2. I was looking for such a guide for a long time, I am new to Linux and I wanted to learn how to create and host a website on my local linux system,

    Thanks for creating such a helpful article, now I can able host a website locally on my Linux box using these instructions.

    Reply
  3. How can we add a minimum amount of security? also, can we proceed with the above steps using a Linux installed inside a Virtualbox in windows?

    Reply
  4. Assuming 100 concurrent web users at a time visiting my server, is it possible to handle if my web-server is a desktop with 2Gb ram and 4Gb GPU attached??

    Reply
  5. Hi, I already made a web server on my Kali Linux and also do a port forwarding on virtual server tab but my web page only access from the device which are connected with my home wifi or the same network on which server is connected but i want it to be access from world wide what can i do for that please help me thanks.

    Reply
    • @Moeez,

      Please have a public IP address setup on the server to make a web sever page accessible from outside world.

      Reply
      • I got my public IP by searching on Google “what is my ip” but with that ip my webserver is not accessible from outside world if we try to access from outside world then it give error that web page at http://my public ip could not be loaded because “net::err_connection_timed_out. this error happen when i try to access my webserver from outside local internet from mobile what should i do now or from where i can get the public ip address

        Reply
        • @Moeez,

          You need to buy the Public IP address for your web server or else take hosting from cheap hosting provider they will provide you free IP address for your web server…

          Reply
  6. Instead of manually installing webserver and stack manually, isn’t it better to host PHP site with platform like Cloudways, where the these packages are installed and configured automatically? This will save a lot of time, which you can instead spend on building your app.

    Reply
  7. Hi mate, thanks for the great article, I followed your step of installing Drupal and after copying the extracted Drupal contents to /var/www, I wasn’t greeted with the page as you showed in the screenshot.

    It’s the same Apache greeting page. So I tried to move those contents again into var/www/html directory again and still getting greeted with the same Apache default page. Could you tell me if I’m doing anything wrong? Thanks

    Reply
  8. Planning to build my own web server too but i have problem. How do you connect your domain name to your webhost? Specifically how will i associate my webhost to a nameserver which later i can use those NS to my domain to.

    Reply
    • @Cypher,

      Yes you can install Linux server there isn’t any major difference, except you must know about root, swap partition before installing..

      Reply
  9. I am using data card & I want host my website from my laptop so it can happen.

    I am getting problem while host website in outside.
    my website work only local host.

    Reply
    • @Deepesh,

      Yes you can host your website in your laptop, but you need a static IP address to make it available on the web..May I know what kind of problems you facing while setting up website?

      Reply
    • @Rudra,

      We’ve already presented the article with nice step-by-step article to host your own website under Linux server, now may I know what kind of help you looking for?

      Reply
  10. Hello superb explanation. I thank you and I find you have saved me a lot of time. Now my problem: I placed the drubal in /var/www and it does not load on my browser so I have to place it in /var/www/html for it to load. Is this a problem? Now it seems to complicate the installation somewhat. Thank you!

    Reply
    • @Nj,
      It’s depend on which Linux OS version you using, in CentOS Apache default path is /var/www/html and in Ubuntu its /var/www.

      Reply
  11. Why did you say that I shall never give IP address to someone you don’t know? How can other people visit my site then? I am confused.

    Reply
  12. Hello Sir,
    I want to know if i host a website on my local ubuntu server 14.04 .how can i access this site externally !.What are the settings that need to be done for this?

    Reply
    • 1) it is not a good idea to do it host a website on local server.

      2) If you understand the risk, you can simply forward the port. All you need is a Static IP.

      You should be able to do it yourself by following the guide, if however you seek my help you may send me your ssh server

      Reply
  13. Hello,

    Thank you very much for your reply. Is this a suitable way to create a website in order for large amounts of people get there? I mean, is this going to work for a site with audio streaming, embedded videos, text, images, etc, being visited by lots of users? If so, what hardware would you recommend for something like that? Thank you!

    Reply
    • That goes way beyond the scope of this, which is a testing server. Of course Linux can do what you are asking, 70% of everything served over the Internet came from a Linux server, across Linux routers and switches to you. ;)

      Reply
  14. Hello I am trying to install MySQL and keep getting this error:
    E: Unable to locate package mysql
    I googled it and people said to do the command
    sudo apt-get update
    But still didn’t made it work.

    Thank you.

    Reply
      • Thank you very much for your reply!

        I did this in my console:

        root@ns357128:~# whereis mysql
        mysql: /usr/bin/mysql /etc/mysql /usr/bin/X11/mysql /usr/share/man/man1/mysql.1.gz

        Then tried to install it like on your tutorial:

        root@ns357128:~# apt-get install mysql mysql-server mysql-client
        Reading package lists… Done
        Building dependency tree
        Reading state information… Done
        E: Unable to locate package mysql
        root@ns357128:~#

        I installed apache and http://your-ip-address works, so I assume apache is installed.

        Then I tried to install PHP:

        root@ns357128:~# apt-get install php5 libapache2-mod-auth-mysql php5-mysql
        Reading package lists… Done
        Building dependency tree
        Reading state information… Done
        libapache2-mod-auth-mysql is already the newest version.
        php5 is already the newest version.
        php5-mysql is already the newest version.
        0 to upgrade, 0 to newly install, 0 to remove, and 42 not to upgrade.
        root@ns357128:~#

        So I assume PHP is installed, but I did the info.php and placed it in the /var/www/html folder, but just appears as a blank page so I assume I need mySQL installed?

        I did better research so I also assume I need to install this: https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/ but I wanted confirmation first.

        I am using kimsufi dedicated server OS Ubuntu Server 14.04 “Trusty Tahr” LTS (64bits)

        I am sorry for all the questions but I am really new to this and really want to install a forum on my dedicated server!

        Thank you so much for your patience.

        Reply
  15. Sir , i started to create a website after reading your article , but i’m successful in publishing my website upto my local network . but i want to make it live through out the web ( outside my network also ) . and i think i had static ip too , but i’m unable to make my site live for whole web . please help me

    Reply
  16. Which are the differences between ‘/var/www/html‘ and ‘/var/www‘?
    If i have created an html file with php on it, to be able to execute the file and see it on the browser where should i put my file?

    Reply
    • Apache’s working directory in some distro is /var/www and in some disto /var/www/html.

      If you have html directory at location /var/www/, then it means your working directory is /var/www/html. Put you php file here. set up the correct file permission. and finally point your browser to 127.0.0.1/Php_filename.php.

      Replace Php_filename with the name of your PHP file.
      Hope it helps.

      Reply
  17. Hi Avishek,
    It’s nice to have this tutorial. Need information in detail. How can we access this URL using www. Need info about that setup
    Thanks & Regards
    Pavan.kusuma

    Reply
  18. Thanks for the tutorial, might want to make a note to restart the apache service after installing PHP, other wise the phpinfo() script will not work

    Reply
  19. it is not working how install drupal when we put on browser localhost it shwon this Apache 2 Test Page drupal not running.

    which i already extract file in var/www/

    kindly advise.

    Reply
  20. Thankyou! sir for this wonderful article.
    I am having a pet project call wifi broadcast system but i currently not managed to break the networking.
    we want to broadcast above server with wifi router to other device.
    Please guide further..!!

    Reply
  21. Hey Avishek, this is a really neat article targeting amateurs like me. I’m going to use this and set my server up (I’m done until getting LAMP up), now its Drupal time.

    Hope its ok for me to get in touch with you if I need help.

    Cheers!

    Reply
    • Thanks Vinod fro this valueable feedback. Kudos…

      we will be happy to help you. Moreover we are starting our services, and you can take our service at very reasonable cost.

      Reply
  22. Really nice article Avishek!!!

    I am not a very experienced Linux person but trying to understand which of the installation process (apt-get Or yum Or another) someone should use and concepts behind those?

    Are these distro dependent or what?
    Have you already any article published onto this If Yes then please provide me the link Or if you have some good details then I will be really thankful for that.

    Reply
    • Welcome @ Vishal,

      Apt and Yum are package manager for Linux Distros. Some Uses Apt other uses Yum or other package Manager. Yup Package Manager id distro dependent.

      Reply
  23. Thank you very much for this well written article. I am a regular ubuntu user but have never tried making it a server. Awaiting subsequent articles (and lessons) from you about webpage/server development

    Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.

Free Course
Get a free Linux course before you go.
Subscribe to TecMint Weekly and get the Learn Linux 7 Days Crash Course free. Read by 34,000+ Linux professionals every Thursday.
Something went wrong. Please try again.
Check your email for a magic link to get started.