Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I configured web server and for some reason cannot access it.
If i do this: http;//127.0.0.1 I can see my page
but if I do this http://www.mydomain.net can't see anything
I forwarded ports (Microsoft mn-700 router) - persistent port forwarding:
Code:
Number of servers: 2
Enable Description Inbound Port Type Private IP Address Private Port Edit Delete
Apache1 80 - 80 TCP 192.168.2. 71 80 - 80 Edit Delete
Apache2 443 - 443 TCP 192.168.2. 71 443 - 443 Edit Delete
but still cannot see the page.
/etc/hosts:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
71.142.66.220 mydomain.net mydomain
I'm poor on networking but before trying to reach the site via domain name, I would use the IP address ... and (just as a note) 71.142.66.220 does not appear to be reachable at this time.
I'm poor on networking but before trying to reach the site via domain name, I would use the IP address ... and (just as a note) 71.142.66.220 does not appear to be reachable at this time.
Yes, If the IP adress is not working, there's probably something blocking it. Is the port forwarded on your router? How about firewalls. Have any?
Sorry to answer with such a poor knowledge - but it appears your IP address has switched (from 71.142.66.220 to 71.142.79.209). Is this a dynamic IP address you received by connecting to your (DSL) provider?
And, where do you have that domain name from? Usually, there are nameservers (which do domain name resolution for IP adresses), and that provider who sold you that domain name should synchronize domain name and IP address.
There's an alternative if you'd wanted to use your own PC's IP address with a domain name, http://www.dyndns.com.
But to me, the question still is, where do you suppose the name server to be - that does point other computers to your current IP when the try to locate your domain name?
I just went to dyndns and updated my ip over again even though it was set correctly.
I guess I just had to do it manually (even though I saw my correct IP there previously)
Here's how to setup a cron job to schedule the domain name <--> IP address synchronization.
But that's for Ubuntu and I think you're on Fedora.
I don't know whether the program "ipcheck" exists in your distribution. If not, the programs farslayer mentioned should be an equivalent.
"sudo" in the code mentioned for Ubuntu means, "become root for this command". On Fedora, you probably would need to become root, actually.
"gedit" is just some text editor; you would use your preferred 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.