LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-27-2010, 04:39 PM   #1
rewards
Member
 
Registered: Dec 2010
Posts: 135

Rep: Reputation: 0
Question Linux Centos with apache webserver


Hello all. I have setup a Linux Centos with apache server on it in a home network. Everything works fine. When I access the webserver I put in the address bar the IP address of the server which is 192.168.0.150 and when hit enter, it prompts the page where I have to put login information. The login information is set to:
username: admin@localhost.local
password: *************

It takes long time for authentication go through and load the page eventhough I am accessing the site in a same home local area network with fast ethernet connection.

How can I change the localhost.local to something else like maybe "muysite.com" instead and if I have to change settings in other files as well?

Thank you for your feedback
 
Old 12-27-2010, 05:20 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
to do this *properly* you must buy the domain and set up your own DNS to forward traffic to the server. You can easily put whatever hostname you want in your /etc/hosts on the client on the same subnet and use it immediately. As for the delay, you've not said a single thing about what this authentication is, so we can't comment. Arbitrary delays on fast networks are very frequently reverse DNS lookup related though, as a wild stab in the dark.
 
Old 12-27-2010, 06:49 PM   #3
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 150

Rep: Reputation: 21
yes ,you need to buy a domain name like mysite.com and point the dns to your server like acid_kewpie has said,and also you need a static public IP address,and forward the 80 port to your httpd Centos machine.
 
Old 12-27-2010, 08:23 PM   #4
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
This ia development server at home behind the router. Do I still need to buy Domain?
 
Old 12-27-2010, 08:44 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Within the confines of your own network, no.
 
Old 12-28-2010, 12:11 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,830

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
buy a domain ? yes and no

i used to use "no.ip.com"
http://www.no-ip.com/

and set up the "free" account
MyStiesName.no-ip.com

or you can buy an address


also just how did you install the apache stack ?
from the cent repos using yum ?
Code:
yum groupinstall "Web Server"
or by hand ,installing
Apache
Php
MySQL
perl
PhpMyAdmin
and any others

i recommend the "by hand" for the first few installs
That way YOU LEARN how to set up every config file . there are a few .

Quote:
As for the delay, you've not said a single thing about what this authentication is, so we can't comment.
what did you set up in the httpd.conf ? and is the mysql DB also set to it ?
as i recall apache has 3 different ways set as examples in the VERY well documented conf file
 
  


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
Linux (Apache) webserver help needed bresnen2112 Linux - Server 2 06-09-2010 10:58 AM
public webserver apache on CentOS 5.3 in Xen Enviroment strubbldesign Linux - Server 1 08-19-2009 09:08 AM
How did my linux-apache webserver get hacked? markie Linux - Security 18 10-19-2004 09:07 PM
3 node Apache WebServer Linux Cluster youngclusterman Linux - Networking 12 01-29-2004 01:13 PM
Linux 6.2, Apache webserver and Flash 4 ? gargoyle Linux - General 0 07-11-2001 09:48 PM


All times are GMT -5. The time now is 08:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration