[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Config help

Posted on 2006-05-14
4
Medium Priority
?
224 Views
Last Modified: 2013-11-18
With the following in my config for my local server, why can't i access each at http://gamepts, http://mysql-l.com, etc... and can only view http://127.0.0.1 as the gamepts host?

NameVirtualHost 127.0.0.1:80

<VirtualHost 127.0.0.1:80>
   setEnv RAILS_ENV development
   ServerName gamepts
   ServerAlias gamepts
   DocumentRoot /windows/W/rails/gamepts/public/
   ErrorLog /windows/W/rails/gamepts/apache.log

   <Directory /windows/W/rails/gamepts/public/>
      Options ExecCGI FollowSymLinks
      AddHandler cgi-script .cgi
      AllowOverride all
      Order allow,deny
      Allow from all
   </Directory>
</VirtualHost>

<VirtualHost 127.0.0.1:80>
      ServerName mysql-l.com
      ServerAdmin jason@d4ly.com
      ServerAlias mysql-l.com *.mysql-l.com
      ErrorLog /var/log/apache2/mysql-error_log
      DocumentRoot /windows/W/Hosting/phpMyAdmin
</VirtualHost>
<VirtualHost 127.0.0.1:80>
      ServerName d4ly-l.com
      ServerAdmin jason@d4ly.com
      ServerAlias d4ly-l.com *.d4ly-l.com
      ErrorLog /var/log/apache2/d4ly-error_log
      DocumentRoot /windows/W/Hosting/web/d4ly
</VirtualHost>
<VirtualHost 127.0.0.1:80>
      ServerName omchairworld-l.com
      ServerAdmin jason@d4ly.com
      ServerAlias local-omc.com *.local-omccom
      ErrorLog /var/log/apache2/omc-error_log
      DocumentRoot /windows/W/Hosting/web/omc
</VirtualHost>
0
Comment
Question by:D4Ly
  • 3
4 Comments
 
LVL 6

Accepted Solution

by:
bimal_linux earned 2000 total points
ID: 16680199
Hi,

Could you please verify that omchairworld-l.com etc are resolving to 127.0.0.1? Try to ping to this domaninnames and see the output. If its not, please update your hosts file as an immediate resolution .

Thanks,
Bimal Mankara
0
 
LVL 9

Author Comment

by:D4Ly
ID: 16682340
Hi bimal_linux-

I did

$ping omchairworld-l.com

and get

ping: unknown host omchairworld-l.com

and also get the same response for

$ping gamepts

What am I looking for when you say hosts file, and what changes am I making? Thanks!!
0
 
LVL 9

Author Comment

by:D4Ly
ID: 16682396
btw, I'm using linux.
0
 
LVL 9

Author Comment

by:D4Ly
ID: 16682472
/etc/hosts

I'm all set, thanks :)
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question