Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-16-2006, 03:36 PM
|
#1
|
Member
Registered: Apr 2006
Posts: 170
Rep:
|
can't access www.mydomain.net
Hello,
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
where mydomain is name of my domain
What could the the reason?
Thanks
|
|
|
04-16-2006, 05:57 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Did you configure apache to respond to mydomain.net?
ie: ServerName mydomain.net
|
|
|
04-17-2006, 12:25 AM
|
#3
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
Hello,
Yes, I did. I put the following entry into gedit /etc/httpd/conf/httpd.conf file
ServerName mydomain.net
|
|
|
04-17-2006, 06:21 AM
|
#4
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
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.
|
|
|
04-17-2006, 06:28 AM
|
#5
|
Member
Registered: Jul 2004
Location: Hell
Distribution: Gentoo 2005.1 r1
Posts: 92
Rep:
|
Quote:
Originally Posted by robbbert
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?
|
|
|
04-17-2006, 11:35 AM
|
#6
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
Thanks for the input!
Actually, the ip is 71.142.79.209 and I can see it in the browser
But http://www.mydomain.net does not work
I forwared ports:
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
Router: Microsoft MN-700
but still not luck accessing it with myDomain .
|
|
|
04-17-2006, 11:58 AM
|
#7
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
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?
|
|
|
04-17-2006, 02:34 PM
|
#8
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
I have dynamic ip and have dyndns configured.
I got it working! now I can access http://www.mydomain.net.
it is fine for now
thanks!
|
|
|
04-17-2006, 02:37 PM
|
#9
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
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)
|
|
|
04-17-2006, 03:50 PM
|
#10
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
do you have a client running on your server to automatically update your IP at dynDNS ?
http://www.dyndns.com/support/clients/unix.html
|
|
|
04-17-2006, 04:36 PM
|
#11
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
I have not installed it yet since not sure how to do it.
Linux is new to me and every time I need to install some software on it becomes a struggle
|
|
|
04-17-2006, 05:55 PM
|
#12
|
Member
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573
Rep:
|
Glad you're looking into Linux et al.
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.
|
|
|
04-17-2006, 06:47 PM
|
#13
|
Member
Registered: Apr 2006
Posts: 170
Original Poster
Rep:
|
Thank you. I'll look into it.
|
|
|
All times are GMT -5. The time now is 02:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|