Jump to content
The Uniform Server Community

Recommended Posts

Posted

Hey folks,
I’m running into a really odd situation that I can’t figure out. I have Uniform Server set up on Windows 11, and everything works perfectly when I use just one site. But the moment I add a second virtual host, all of my sites, including the first one that was working, start redirecting to the wrong document root.

For example, I added a new host pointing to C:/UniServerZ/www/project2, but somehow both localhost/project1 and localhost/project2 now load the same files from project2. Even stranger, if I restart the server a couple of times, it sometimes flips, and both hosts point back to project1 instead. The Apache config looks normal to me, and I double-checked that the hosts file entries are correct.

It feels almost like Uniform Server is “forgetting” which virtual host to serve after a restart. Has anyone else seen this kind of behavior? Could it be some hidden caching or a Windows service interfering? I’d love to get to the bottom of this before I break everything even more.

Pips NYT

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...