Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there anyone out there who can help me I'm installing Redhat core(CentOS 5) on my machine setting up a web server. The problem is, where can I edit the files so that I can view the page instead of 132.156.5.56 into example.domain.com.ph
I'm working on this almost a month but can't figure it out
Any suggestions,idea,help is much highly appreciated.
# Do not remove the following line, or various programs that require #network functionality will fail.
# ::1 localhost6.localdomain6 localhost6
#127.0.0.1 localhost.localdomain localhost lynkz
124.6.155.50 lynkz.com.ph lynkz localhost.localdomain lynkz
I made a script:
<?
php phpinfo();
?>
into my httpd server I can view it using IP address 124.6.155.50 but not lynkz.com.ph I know its weird but is there a way I can solve that.
# Do not remove the following line, or various programs that require network functionality will fail.
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost
124.6.155.50 lynkz.com.ph lynkz
Is the public IP for this computer static?
Do you have DNS entries in the network configuration?
Do you have DNS entries in the network configuration?
Yes, I clearly put it up
Are you supposed to be using lynkz.com.ph?
No, actually computer alias is poseidon
Here is my revised /etc/hosts
# Do not remove the following line, or various programs that require #network functionality will fail.
::1 localhost6.localdomain6 localhost6
127.0.0.1 localhost.localdomain localhost
124.6.155.50 poseidon.booom.com.ph poseidon
I'm accessing it on my Windows 2000 PC. This is how I accessed it:
In my firefox browser I put "124.6.155.50" and luckily it will worked it shows me the PHP info but when I tried poseidon.booom.com.ph it says "The Requested URL cannot be retrieved".
It doesn't work because poseidon.booom.com.ph doesn't map to 124.6.155.50. You need to register poseidon.booom.com.ph and have it associated with your static IP to be able to access it by name. Or you can add the hostname and IP address to the Windows host file, but you would need to do that for every computer you access poseidon.booom.com.ph from.
"It doesn't work because poseidon.booom.com.ph doesn't map to 124.6.155.50. You need to register poseidon.booom.com.ph and have it associated with your static IP to be able to access it by name."
I will take that option how would I do that cgjones.
Thanks a lot cgjones. It will be a good start for me studying linux. Well if you have any good tutorial about setting up a web server can you please share it. Coz after this one I want to setup proxy server on my own. I will try to study how DNS stuff works first before I proceed.
Many,many thanks cgjones I will update this thread once I get finished setting this up. But because I'm a slow learner maybe it will take many days before I could catch up with this one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.