LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-16-2006, 03:36 PM   #1
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Rep: Reputation: 30
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
 
Old 04-16-2006, 05:57 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Blog Entries: 4

Rep: Reputation: 78
Did you configure apache to respond to mydomain.net?

ie: ServerName mydomain.net
 
Old 04-17-2006, 12:25 AM   #3
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
Hello,

Yes, I did. I put the following entry into gedit /etc/httpd/conf/httpd.conf file
ServerName mydomain.net
 
Old 04-17-2006, 06:21 AM   #4
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
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.
 
Old 04-17-2006, 06:28 AM   #5
ultramancool
Member
 
Registered: Jul 2004
Location: Hell
Distribution: Gentoo 2005.1 r1
Posts: 92

Rep: Reputation: 15
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?
 
Old 04-17-2006, 11:35 AM   #6
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
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 .
 
Old 04-17-2006, 11:58 AM   #7
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
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?
 
Old 04-17-2006, 02:34 PM   #8
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
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!
 
Old 04-17-2006, 02:37 PM   #9
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
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)
 
Old 04-17-2006, 03:50 PM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
do you have a client running on your server to automatically update your IP at dynDNS ?

http://www.dyndns.com/support/clients/unix.html
 
Old 04-17-2006, 04:36 PM   #11
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
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
 
Old 04-17-2006, 05:55 PM   #12
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
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.
 
Old 04-17-2006, 06:47 PM   #13
thisObject
Member
 
Registered: Apr 2006
Posts: 170

Original Poster
Rep: Reputation: 30
Thank you. I'll look into it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't access mydomain.hoemip because of the router thisObject Linux - Software 2 04-15-2006 03:48 PM
for www.cafeyurt.com and www.sohbetedin.net timsah Linux User Groups (LUG) 10 02-11-2006 03:20 PM
have anyone using http://www.everydns.net/? singying304 Linux - Networking 11 11-27-2005 11:58 AM
How to make PHPBB not show a directory listining www.mydomain.com/phpBB2/ fur Linux - Networking 3 04-26-2004 08:17 PM
Just bought www.helpwithlinux.net and www.helpwithwindows.com Whitehat General 15 05-08-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration