Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 there,
Im running redhat server and currently installed no-ip client so that i could expos my pc to internet,and im running a tomcat server and hosting a webpage, firstly i was running ubuntu and windows with no-ip it was no issue, when i type the noip id followed with the dir like sample.hopto.org:8080/mypage it loads the page, but in linux it says 404 not found, do u have any possible solution to it. Thanks in Advance
1. apache service is running (i.e.: httpd)
2. dont use 8080, just give the website name/path.
3. check if website domain name is pingable ie. it has a ip-address in /etc/hosts file.(e.d: ping sample.hopto.org)
4. check if it had read permissions for all users for path file. (ls -l path/filename ).
5. check if port 80 or 8080 is open for httpd, if not open or add entry to firewall.
without bothering with "no-ip" ( i used it for a rather LONG time )
IS apache up and running ? http://127.0.0.1:80
dose that above link take you to the DEFAULT Apache "success, you installed Apache" html page
( on rhel that is /var/www/http)
also i am guessing by your name "maharaj.narayanan" that you are NOT!!! using a comcast HOME service
they block apache
I do have the hopto added into the hosts file, and i gave 777 rights to the folder which published the page,
& John im not running with the default apache that comes with redhat version, i have a some set of files and program which starts its own tomcat which is in my /media drive, BTW my real name is Maharaj
I guess, you are now putting the required files in the right hosting directory. I guess it is hosts directory for tomcat in case of server like xampp. i have no clue about no-ip. so please check their documentation and put the files in right server root path.
Hi Manoj,
Ur right about the Root directory, when i just put the sample.hopto.org it pulls the sample html file from /var/www/html.
Does that mean i have to define the Document root in httpd.conf, BTW i did also tried that no luck got warning only.
use document root as /var/www/[your-website-root-directory-name]. then copy sample html file here. see if it works in browser. if it does but your sub-directory under this root directory.
Redhat server 6.4,
i tried even with fire wall disabled but it aint connecting,
sestatus is in enforcing mode,
i have a dummy html file saying hello in /var/www/html path when i type the no-ip the page is visible
but the application(pentaho) im running in tomcat with port 8080 is working fine within the LAN but not outside the network,
user permission are given for the folder which is located in /media path.
anything else do i have to check.?
Don't gloss over what was said above: If you are running SELinux, you need to set the proper context for your files and directories.
~~~
getenforce
~~~
The above command will return 'Enforcing' 'Permissive' or 'Disabled', depending on the status of SELinux. If it is enforcing, set it to permissive and check your page again:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.