# Host Headers

**URL:** <https://forum.virtualmin.com/t/host-headers/47889>\
**Category:** Virtualmin\
**Created:** [February 19, 2014, 8:07pm UTC](https://forum.virtualmin.com/t/host-headers/47889 "2014-02-19T20:07:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tito](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/t/dfb087/32.png) [@Tito](https://forum.virtualmin.com/u/Tito)\
**Post date:** [February 19, 2014, 8:07pm UTC](https://forum.virtualmin.com/t/host-headers/47889/1 "2014-02-19T20:07:05Z")

</div>

Hello All,

I have migrated our Virtualmin system from an old server to a new one. The migration went fine without any errors. However, I am seeing that all requests regardless to which domain it is going to always gets sent to the first domain (VPS) within Virtualmin.

For example, if I have a list of 100 domains/VPS in Virtualmin and the first domain on the drop down list is domain-1.tld but I go to the URL domain-50.tld, it always sends me to domain-1.tld. Does anyone know what could be causing this? I checked the DNS entries and they all look good. Is there an Apache setting I may have overlooked?

Thanks!

---

<div class="post-metadata">

**Author:** ![Eric](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/e/898d66/32.png) [@Eric](https://forum.virtualmin.com/u/Eric)\
**Post date:** [February 19, 2014, 10:12pm UTC](https://forum.virtualmin.com/t/host-headers/47889/2 "2014-02-19T22:12:24Z")

</div>

Howdy,

For troubleshooting that, a good place to start would be the section named “The Wrong Site Shows Up” at the following site:

[https://www.virtualmin.com/documentation/web/troubleshooting](https://www.virtualmin.com/documentation/web/troubleshooting)

---

<div class="post-metadata">

**Author:** ![Tito](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/t/dfb087/32.png) [@Tito](https://forum.virtualmin.com/u/Tito)\
**Post date:** [February 19, 2014, 11:13pm UTC](https://forum.virtualmin.com/t/host-headers/47889/3 "2014-02-19T23:13:39Z")

</div>

Eric,

Thank you very much for pointing this doc out. It solved my issue. I had a wildcard in my virtualhost for some sites while others had the IP. I don’t know how that happened but issued is now resolved.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 6:00am UTC](https://forum.virtualmin.com/t/host-headers/47889/4 "2020-04-30T06:00:05Z")

</div>

Closed on April 30, 2020, 6:00am UTC


