# Newly Migrated Domain on Shared IP is Assigned IP "Any" and Resolves to Wrong /home Directory

**URL:** <https://forum.virtualmin.com/t/newly-migrated-domain-on-shared-ip-is-assigned-ip-any-and-resolves-to-wrong-home-directory/51127>\
**Category:** Virtualmin Hosting Offers\
**Created:** [May 16, 2015, 3:29am UTC](https://forum.virtualmin.com/t/newly-migrated-domain-on-shared-ip-is-assigned-ip-any-and-resolves-to-wrong-home-directory/51127 "2015-05-16T03:29:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![katir](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/k/ce7236/32.png) [@katir](https://forum.virtualmin.com/u/katir)\
**Post date:** [May 16, 2015, 3:29am UTC](https://forum.virtualmin.com/t/newly-migrated-domain-on-shared-ip-is-assigned-ip-any-and-resolves-to-wrong-home-directory/51127/1 "2015-05-16T03:29:29Z")

</div>

I migrated another domain from our old CentoOS box (where it had it’s own IP) and restored it to a cloud server on a shared IP.

even though IP assignment is there in “Edit Virtual Server” as Current IP address 45.56.82.123

and this also appears in the Change IP Address panel… when I go to WebMin --\> Apache Server…

I see this:

```
Virtual Server Any 80 new.server.com /home/newserver/public_html Open..

```

DNS has already propagated for this new server and I have my /etc/hosts file on my own box set to

45.56.82.123 [new.server.com](http://new.server.com)

but when I try to get to it in a browser… we get the home page for

[another.server.org](http://another.server.org) # on this same shared IP

i.e it resolves to /home/anotherserverorg/public\_html/index.html

instead of the DOCROOT for

/home/newserver/public\_html/index.html

I tried stopping and start apache (after reading another post here on this same problem from someone else) and indeed there were some config errors. The directives for [new.server.com](http://new.server.com) had a few archaic lines that were not correct (or even needed) and after I deleted those I could run apach2clt stop (then start) without a an error… but, going back to WebMin, the IP for this server, port 80 was still stuck on “Any” and in a browser, stil resolves to the DOCROOT of a different virtual server on the same shared IP.

---

<div class="post-metadata">

**Author:** ![katir](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/k/ce7236/32.png) [@katir](https://forum.virtualmin.com/u/katir)\
**Post date:** [May 16, 2015, 3:30am UTC](https://forum.virtualmin.com/t/newly-migrated-domain-on-shared-ip-is-assigned-ip-any-and-resolves-to-wrong-home-directory/51127/2 "2015-05-16T03:30:44Z")

</div>

OH I should add this is on Ubuntu 14.04 LTS…

---

<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:17am UTC](https://forum.virtualmin.com/t/newly-migrated-domain-on-shared-ip-is-assigned-ip-any-and-resolves-to-wrong-home-directory/51127/3 "2020-04-30T06:17:06Z")

</div>

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


