LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-22-2009, 07:04 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,443
Blog Entries: 6

Rep: Reputation: 51
Issue with Apache?


I was reading the doc http://www.xenocafe.com/tutorials/li...rver/index.php and getting webpages ready. I followed from beginning to the end.
My Machine says :
Code:
[root@tux conf]# httpd -S
VirtualHost configuration:
127.0.0.1:80           is a NameVirtualHost
         default server localhost (/etc/httpd/conf/httpd.conf:1018)
         port 80 namevhost localhost (/etc/httpd/conf/httpd.conf:1018)
         port 80 namevhost groupultra.com (/etc/httpd/conf/vhosts/groupultra.com.80.conf:1)
10.14.236.98:443       groupultra.com (/etc/httpd/conf/vhosts/groupultra.com.443.conf:6)
wildcard NameVirtualHosts and _default_ servers:
_default_:443          relay.groupultra.com (/etc/httpd/conf.d/ssl.conf:88)
Syntax OK
[root@tux conf]#
But when I open the page in browser as
Code:
htmlview http://groupultra.com
It throws Apache Default Test Page
Also, I choosed https:// or http:// but the display is same Test page.
From where its taking test page.Why SSL not asking me for certificate.
I am just in try to host namebased website through my linux Box.
Any Idea ?

Last edited by your_shadow03; 04-22-2009 at 07:06 AM.
 
Old 04-23-2009, 03:49 PM   #2
kentyler
Member
 
Registered: Dec 2008
Location: Cleveland Ohio
Distribution: CentOS
Posts: 235

Rep: Reputation: 36
You can only use namebased virtual hosts if you have this server pointed to a nameserver which resolves the names for the hosts you are using. Otherwise it picks up the default host and gives you that page.

If you look where the server is looking for the default host files and put your site there it will appear.
 
Old 04-23-2009, 10:38 PM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,443
Blog Entries: 6

Original Poster
Rep: Reputation: 51
I ditn get you. Can you elaborate?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
apache issue kidswipe Linux - Server 8 07-09-2007 08:16 AM
Apache 2.2.3 issue. Galaxy_Stranger Linux - Server 4 09-12-2006 03:57 AM
Apache Issue Jukas Linux - Software 3 07-14-2005 01:33 PM
Is this an apache issue? opsraja Linux - Networking 1 03-02-2005 11:03 PM
apache issue... Robin01 Linux - Newbie 3 09-21-2003 06:12 AM


All times are GMT -5. The time now is 07:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration