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 |
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.
|
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.
|
This ia development server at home behind the router. Do I still need to buy Domain?
|
Within the confines of your own network, no.
|
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" 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 i recall apache has 3 different ways set as examples in the VERY well documented conf file |
All times are GMT -5. The time now is 06:27 AM. |