Finally, open a web browser and navigate to your subdomain (e.g., http://blog.example.com
). You should see the "Hello, World!" message from the index.html
file you created.
You have successfully set up a subdomain on your Apache server. This setup allows you to host different sections of your website under various subdomains, providing better organization and management. If needed, you can repeat these steps to add more subdomains to your server.