---
title: "Discussion on \"VirtualHost examples in Apache\" | Hashnode"
description: "Discussion on \"VirtualHost examples in Apache\". If you are setting new website and using apache web server, you can use following example for creating Virtual hosts.\nRunning several name-based web sites on a single IP address.\n\n# Ensure that Apache listens on port 80\nListen 80\n<VirtualHost *:80>\n ..."
url: "https://hashnode.com/posts/virtualhost-examples-in-apache/609d189547373d4cb0560d00"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [VirtualHost examples in Apache](https://glk.hashnode.dev/virtualhost-examples-in-apache?utm_source=hashnode&utm_medium=feed)

If you are setting new website and using apache web server, you can use following example for creating Virtual hosts. Running several name-based web sites on a single IP address. # Ensure that Apache listens on port 80 Listen 80 <VirtualHost \*:80> ...

May 13, 2021 · 1 min read · glk.hashnode.dev  
Read the article

-   [#hosting](https://hashnode.com/tag/hosting)
-   [#apache](https://hashnode.com/tag/apache)
-   [#laravel](https://hashnode.com/tag/laravel)

## Written by

[Gopal Kildoliya](https://hashnode.com/@glk)

@glk

  
[View profile](https://hashnode.com/@glk)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
