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.
Hello all. I have two problems here and any feedback from you is highly appreciated. I have web server apache on linux Centos. I can access it successfully by typing on the address bar http://localhost, 127.0.0.1 or 192.168.0.150 from the local computer server and the site loads normally with graphic. When I access the site from another computer in the same local network, I don't get the correct website. I see the site like html as text not graphic. Please see below text file output from the browser: Also I can only access the site by typing 192.168.0.150 IP address in the address bar. When I type http://localhost or 127.0.0.1, the site does not come up. Do you see what I did wrong? How can I fix this problem. Thank you again. . Thank you all.
Email:
Password:
Remember me
* Sign Up
* Forgot Password?
Recent Logins
Admin PHP Local
Admin PHP Local
Sign Up and Start Using php
*Full Name:
*Choose a Username: http://localhost/index.php?do=/your-user-name/
*Email Address:
*Password:
*Date of Birth:
/ /
*Gender:
*Location:
Time Zone:
*Image Verification:
Reload Image
Type in the verification code above:
*I have read and agree to the Terms of Use and Privacy Policy.
* Required Fields
*
* About
* |Privacy
* |Terms
* |Contact Us
* |Mobile
* |English (US)
and if the web pages don't came up correctly on another machine and came up correctly on the server when you type localhost
I assume that there is somethings wrong in your browser,try from another machine or another browser.
How you crafted the html links to images, documents, attachments, and external CSS also makes a difference.
If they are relative links, they should work everywhere. If they are specific and you used localhost or 127.0.0.1 in the link, they will fail to load properly from any remote client.
Where and how can I see if httpd.conf uses port 80? I have to also mention that in order for me to you the web script, I had to vi the httpd.com and add this information to the httpd.conf:
and everytime I restart the httpd I get this message:
[root@localhost ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: Warning: DocumentRoot [/var/www/html/mysite.com] does not exist
[ OK ]
the path of the config file is /etc/httpd/conf/httpd.conf
Code:
......................
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded h
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.