Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-15-2008, 05:44 AM   #1
Registered: Jan 2007
Posts: 86

Rep: Reputation: 16
How to access local web server?

Fine things :

-my computer is

-I have a Centos Apache+MySql+Webmin+VirtualminGPL at a local computer
(connects to internet, virtualdomainnames work,every virtualname(domainname) is reachable from internet)

-router modem is
(connects to internet, connects to ssh,webmin at

Bad things :

- I cannot open http://localhost at !?

- I can open Webmin http://localhost:10000 at

- When i am at my computer ( when i write ( default page of root Virtual server page opens.

How can i reach one/any of the Virtual domain names via firefox at local network(at

I always log to webserver( from internet. To make things faster and safer i wanna log in to webserver from my computer (
Old 04-15-2008, 06:52 AM   #2
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
I think that you have configured your Apache vhost name-based. That means, that your Apache listens to the name you gave your vhost. To access this vhost you may add the name of your vhost in /etc/hosts together with the associated ip address:

# links
Old 04-15-2008, 07:11 AM   #3
Registered: Jan 2007
Posts: 86

Original Poster
Rep: Reputation: 16
yes it is a name-based.

here is my new /etc/hosts file
# Do not remove the following line, or various programs
# that require network functionality will fail. localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6 localhost.localdomain localhost

But this did not changed anything!?


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
Setting up Ubuntu LAMP Server for local web server sewmyheadon Linux - Newbie 5 02-11-2007 02:06 PM
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 10:30 PM
Local webserver -- How to deny all client install their local web server--Please help b:z Linux - Networking 13 04-16-2005 07:11 PM
Local Web Server amdawi Linux - Networking 15 09-30-2003 04:25 PM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 02:38 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:09 AM.

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