LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-06-2009, 02:36 PM   #1
adekoya_sola
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Rep: Reputation: 0
Smile Apache


Hello, I configured 2 websites on my local apache server.Every time i navigate to see the web page it says "the requested URL luvlinex was not found onthe server. Below is the configuration

<VirtualHost *:80>
ServerAdmin webster@luvlinex.example.net
DocumentRoot /var/www/html/luvlinex
ServerName luvlinex.example.net
ErroLog logs/luvlinex.example.net-error_log
CustomLog logs/luvlinex.example.net-access_log common
</Virtual>


<VirtualHost *:80>
ServerAdmin admin@T-gold.net
DocumentRoot /var/www/T-gold
ServerName T-gold.net
ErroLog logs/T-gold.net-error_log
CustomLog logs/T-gold.net-access_log common
</Virtua>

Can some one pls help me out!

Thanks
 
Old 07-06-2009, 03:06 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
The error you gave is clearly not 100% accurate, but assuming you are trying to go to "http://luvlinex" (why didn't you tell us??) then that wouldn't work as there is no such server defined there. add "ServerAlias luvlinex" to the first vhost and try again.
 
  


Reply

Tags
apache



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Developing Modules for Apache - The Apache Module Book LXer Syndicated Linux News 0 05-11-2007 09:01 PM
Mail from Apache being rejected - Cannot route to sender apache@localhost.localdomain jimwillsher Linux - Networking 2 01-19-2006 12:41 AM
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration