Website and DNS

Reply

Join Date: Nov 2008
Posts: 70
Reputation: orwell84 is an unknown quantity at this point 
Solved Threads: 3
orwell84's Avatar
orwell84 orwell84 is offline Offline
Junior Poster in Training

Website and DNS

 
0
  #1
May 25th, 2009
Okay, so for the past week or so, I've been trying to set up a web server to...well...host a website. So I figured out how to install a LAMP server under Ubuntu and I got a free DNS hostname from dyndns.org. After configuring the router to use the dyndns hostname and forwarding the incoming port to the right computer, I could get the website......but only locally. Whenever anyone that wasn't in my network tried to get to the website, they couldn't find it, but I could in my network.
Anyway, then I tried to flash the router with different firmware because my friend told me that no-ip.org was better and our current firmware didn't support it. So after that broke the router, I tried to fix it, and eventually I got a new one which did support the firmware and was successfuly flashed (WRT54GL). Anyway, we got it to work on no-ip.org, but then it just showed the IP address in the URL bar, and has an annoying advert at the bottom of each page.
After getting annoyed with the various DNS services out there, I started to wonder if I could set up my own DNS hosting machine. So I found this HOWTO:
http://langfeldt.net/DNS-HOWTO/BIND-9/DNS-HOWTO-3.html
and it seemed to be the same as something I found before, which only really broke the website.
So, at long last, here are my questions:
1) why didn't dyndns work? It seemed fine, there were no advertisements, etc., but no one from the outside world could get to it
2) is it possible to get a DNS hostname without paying for it? The HOWTO uses bind, but is that what bind does?
3) How can I get my website to work?
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,219
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 574
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: Website and DNS

 
0
  #2
Jun 4th, 2009
Since you are using DynDns I will assume that you have a dynamic IP address.

Can you host your own DNS while having a dynamic IP? Yes you can, but it is a bad idea. Each time your IP address changes you will have to update your glues at the registrar which will take a few hours to update and means DNS will fail during this period.

Why didn't dyndns work? No idea, you haven't provided enough information to tell. Either way if you have something working is it worth the time to investigate something that didn't?

How can you get your website to work? That depends on whats wrong with it. The IP address showing up in the browser's address bar is nothing to do with DynDns or no-ip, that will be coming from something on your website or web server.

Can you provide the address for your website so I can look at it externally and examine the behavior? This is a rather hairy issue to fix without looking at it first hand.
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 3
Reputation: adnane is an unknown quantity at this point 
Solved Threads: 0
adnane adnane is offline Offline
Newbie Poster

Re: Website and DNS

 
0
  #3
Jul 17th, 2009
hello
i have the same project and i also can install the web server. i did it on vmware. now i want to collect informations about what i can do to make it reachble from out side a local network.
the questions are:
do i need to by a fixe ip address or a domaine name?
what about DNS. do i have to install my own one?
what about bandwid?
please try to make as cleare as possible. thank you
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 125
Reputation: Freaktech is an unknown quantity at this point 
Solved Threads: 13
Freaktech Freaktech is offline Offline
Junior Poster

Re: Website and DNS

 
0
  #4
Jul 19th, 2009
Are you trying to host this out of your house, via a residential ISP? If so, you need to check with your ISP if this is allowed. Many ISP's block incoming port 80 requests.
A+, Network+, Server+, MCP 70-270, MCP 70-290

Always check the simple fix first.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 70
Reputation: orwell84 is an unknown quantity at this point 
Solved Threads: 3
orwell84's Avatar
orwell84 orwell84 is offline Offline
Junior Poster in Training

Re: Website and DNS

 
0
  #5
Jul 23rd, 2009
GAH THREAD BUMPING

Anyway, I have a few answers. One thing you need to do is (in most cases) run this command
  1. sudo tasksel install lamp-server
That will install the lamp server. (Linux, Apache, MySQL, PHP). Now you can go to http://127.0.0.1 in your web browser to see if it works on your computer. The file it's displaying is /var/www/index.html
You can modify this file to change the website.

As for getting it linked to the internet, you can use no-ip.org as I did, and I'm sure their interface is easy enough to use and figure out if you have problems. Then, on your router, you need to forward port 80 traffic to the computer that has the web server on it.
You do this by finding the place that you forward ports and making a new application to forward port 80 to the IP address of your server. You can find out the IP by using ifconfig in bash and looking under the eth0 interface (or your wireless, depending on which one you're using--wired ethernet is recommended or it would probably be a slow site). Once that's done, you should be able to get to the site from anywhere.

By the way, if anyone sees anything wrong with what I've done (the following explains it) and sees it as the problem, do tell me.
Also, I did get a WRT-54GL router and put dd-wrt (linux firmware) on it. You might need to figure out how to flash a router too.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Domains and DNS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC