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 6376215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:42:59+00:00 2026-05-25T01:42:59+00:00

i set up 2 virual hosts: httpd-vhosts.conf NameVirtualHost *:81 NameVirtualHost *:82 …. <VirtualHost *:81>

  • 0

i set up 2 virual hosts:

httpd-vhosts.conf

NameVirtualHost *:81  
NameVirtualHost *:82  
....  
<VirtualHost *:81>  
ServerName krmsrv05  
#    ServerAlias krmsrv05  
    DocumentRoot "C:/xampp/htdocs"  

#    ServerAdmin postmaster@krmsrv05  
#    ErrorLog "logs/localhost-error.log"  
#    CustomLog "logs/localhost-access.log" combined  
</VirtualHost>  

<VirtualHost *:82>
    ServerName krmsrv05  
#    ServerAlias pprod.krmsrv05  
    DocumentRoot "C:/xampp/htdocs/portail_zf"  
#   SetEnv APPLICATION_ENV "development"  

   <Directory "C:/xampp/htdocs/portail_zf">  
        DirectoryIndex index.php  
    Options Indexes MultiViews FollowSymLinks  
        AllowOverride All  
        Order allow,deny  
        Allow from all  
    </Directory>  
</VirtualHost>  

httpd.conf

Listen 81  
Listen 82  
...  
ServerName krmsrv05

my problem is the second Vhost(port 82) works but the first one no 🙁
no error messages given by apache (…)

i need your help
many thanx 🙂
(sorry for my bad english)

  • 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-25T01:43:00+00:00Added an answer on May 25, 2026 at 1:43 am

    I’m not sure but it may have something to do with your firewall. I’ve never personally used anything other that 80. Unless you have a specific need that requires you to use different ports I would recommend you only use port 80 or 8080. You have all of your virtual hosts using the same port you just have to use a different ServerName. Also make sure in your etc hosts file you add:

    127.0.0.1    servername.com
    

    Where servername.com is what you put next to ServerName in your vhost file. I recommend using a .com at the end of the servername otherwise I’ve found that browsers will treat your url request as if you’re trying to search google.

    I hope that helps. Let me know if I didn’t understand your question or I didn’t make myself clear 🙂 Cheers!

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

Sidebar

Related Questions

Hi I have a server which has several virtual hosts set up on it.
Do I need to set up virtual hosts as mentioned here: http://wiki.rubyonrails.org/deployment/apache-passenger I am
I am trying to set up Virtual Hosts on my WAMPSERVER 2.0i installation. Currently
I using XAMPP and I have configure it in order to have virtual hosts
I'm trying to set a cookie for use across different virtual hosts. Something similar
I am trying to set virtual hosts for two Zend Framework applications. I started
In httpd.conf the last lines are: ExpiresActive On <FilesMatch \.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$> ExpiresDefault access plus 3
I have a few Apache virtual hosts set up. I'd like to access them
Is it possible to set a virtual host in WebLogic only ? In my
I set up a virtual host in a Linux server running Webmin 1.580. I

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.