Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3842322
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T15:46:37+00:00 2026-05-19T15:46:37+00:00

The issue: Everything works fine all until I change the name of ‘dev’ into

  • 0

The issue:

Everything works fine all until I change the name of ‘dev’ into anything else, i.e.’devo’.
Error logs say s’could not resolve host name’. The ‘dev’ site is done with PHP Symfony.

What I tried doing:

  • Someone before has setup it up, so I removed everything, and copied over the project again, reinstalled XAMPP, rewrote the vhosts file, but the issue remained.
  • I checked my Firefox and IE settings and there’s no special rules in LAN settings.
  • I tried clearing my browsers cache.

My Question is: How can a change of hostname screw everything up?

Contents of my httpd-vhosts.conf:

NameVirtualHost 127.0.0.1:80

<VirtualHost localhost:80>
  ServerName localhost
  DocumentRoot "C:\xampp\htdocs"
</VirtualHost>

<VirtualHost dev:80>
  ServerName dev
  DocumentRoot "C:\workspace\trunk\web"
</VirtualHost>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T15:46:38+00:00Added an answer on May 19, 2026 at 3:46 pm

    About the same as this question.

    Although for you, it’s %WINDIR%\System32\drivers\etc\hosts.

    I guess your machine’s name is dev and can hence be resolved. Any other hostname (or ServerName for that matter) needs to show up in the hosts file so it can be resolved to an IP address.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an issue that is occurring with one specific solution. Everything works fine
When I run the app in dev mode (./manage.py runserver 0.0.0.0:9090) everything works fine.
This is a security issue I'm trying to figure out. Everything works fine and
everything is working fine with my jqgrid except a small issue. i have defined
I'm having a weird issue. Locally everything renders fine, and when I fire it
I'm trying to setup Pylons (1.0) with Apache mod_wsgi. Everything works fine with mod_wsgi
Everything was working fine in my little project, until I decided to clean up
Another day, another Auth component headache. Everything was working fine for me until a
I'm trying to set up Solr 3.5.0 on JBoss 5.1. Everything works quite fine.
Hey guys, I have a GridView which is binded to SqlDataSource, everything works fine,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.