Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My local Apache service is running perfectly fine. I am running WAMP.

I am trying to configure my .httpd file so that I can access specific projects as fully qualified domain names like: mysite.com ( but resolves to something like localhost/myfoldername/).

I was able to get it working with a different port number like:


And localhost:80 is my root web dir.

Here is my current .httpd config:

listening: 80 (defined higher in the .httpd)

.... below was added to my .httpd




ServerName www.jobeet.com

DocumentRoot "C:\wamp\www\symfony\jobeet\web"
  DirectoryIndex index.php
  <Directory "C:\wamp\www\symfony\jobeet\web">
    AllowOverride All
    Allow from All

  Alias /sf C:\wamp\www\symfony\jobeet\lib\vendor\symfony-1.4.8\data\web\sf
  <Directory "C:\wamp\www\symfony\jobeet\lib\vendor\symfony-1.4.8\data\web\sf">
    AllowOverride All
    Allow from All

And here is my Windows host file config:       localhost  www.jobeet.com.localhost

If anyone has any ideas, please tell me! I've been on this for over 8 hours : ( thx.

share|improve this question
What is wrong?... ping www.jobeet.com.localhost? netstat -n? www.jobeet.com.localhost open in boruser? –  alvosu Jan 29 '11 at 20:01

1 Answer 1

up vote 1 down vote accepted

A hosts file only supports translations of IP addresses to names, so the :8080 is totally unnessesary.

Additionally, because the hosts file is not actually DNS at all, you don't enter any search suffixes, so you should only enter the entire domain name. SO dump the .localhost from it as well. It should read:       localhost       www.jobeet.com

Of course, then you will lose all access to the REAL www.jobeet.com, but you can't have it both ways.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.