LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-30-2006, 07:18 PM   #1
Russ S.
LQ Newbie
 
Registered: Jun 2006
Location: North Carolina
Distribution: Sidux
Posts: 26

Rep: Reputation: 15
Hosting a website


Hi, I recently installed xdsl on my xbox and want to use it as a server. I installed monkey web server and it's working, if I type my ip address in firefox it loads my index.html. I am a complete newbie to what Im doing. I have registered a zone at editzone.com but I don't know what to do next. Could someone point me in the right direction please?
 
Old 08-30-2006, 09:15 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Next step is to tell editzone.com your public IP address so that it will forward requests to your X-Box, which will then load up your webpage.
 
Old 08-30-2006, 09:32 PM   #3
Russ S.
LQ Newbie
 
Registered: Jun 2006
Location: North Carolina
Distribution: Sidux
Posts: 26

Original Poster
Rep: Reputation: 15
Ok I used this command line:

lynx -source -auth=usernameassword 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.born2death.com'

the zones I registered at zoneedit where born2death.org and www.born2death.org

Could someone help me?
 
Old 08-30-2006, 09:45 PM   #4
cramer
Member
 
Registered: Feb 2006
Distribution: Red Hat 9
Posts: 112

Rep: Reputation: 15
Do you mean xbox like microsoft gaming console xbox? Just confused.
 
Old 08-30-2006, 09:59 PM   #5
Russ S.
LQ Newbie
 
Registered: Jun 2006
Location: North Carolina
Distribution: Sidux
Posts: 26

Original Poster
Rep: Reputation: 15
Yea, I put damn small linux on it and it's pretty nice. How can I open port 80? I read that it could be blocking my public ip.
 
Old 08-30-2006, 10:42 PM   #6
Russ S.
LQ Newbie
 
Registered: Jun 2006
Location: North Carolina
Distribution: Sidux
Posts: 26

Original Poster
Rep: Reputation: 15
If I try to open port 80 with this command line:

iptables -I INPUT -p tcp --dport 80 -j ACCEPT

I get the message: "can't initialize iptables table 'filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded"

the newest version of iptables is installed and I have the newest kernel for xdsl. What can I do to open port 80?
 
Old 08-31-2006, 03:24 AM   #7
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally Posted by Russ S.
Ok I used this command line:

lynx -source -auth=usernameassword 'http://dynamic.zoneedit.com/auth/dynamic.html?host=www.born2death.com'

the zones I registered at zoneedit where born2death.org and www.born2death.org

Could someone help me?
Have just done a whois search on that domain name and it is not registered so you will not be able to use it until you have bought and registered it. The domain name will then be registered with the DNS servers and most registrar's have a control panel where you can specify the ip address of the domain name. Until then the access will be restricted to your ip address.

Last edited by TigerOC; 08-31-2006 at 03:25 AM.
 
Old 08-31-2006, 05:49 AM   #8
mkirc
Member
 
Registered: Apr 2006
Location: Vienna-Austria
Distribution: Suse 10.x, Fedora, DSL
Posts: 63

Rep: Reputation: 15
With xdsl you do not get a static but a dynamic (means it changes) IP-Address !

There is a place where you can register "hostnames" not domains for these kind of configurations, its called dyndns (www.dyndns.org).
They simply make an entry in their DNS. The pretty thing is, that they register whenever your IP-address changes, and they update that DNS-entry !

If it works with IP-Adress but not whith hostname, it has nothing to do with port 80 opened or not or any iptables-issue !
 
Old 08-31-2006, 05:54 AM   #9
Russ S.
LQ Newbie
 
Registered: Jun 2006
Location: North Carolina
Distribution: Sidux
Posts: 26

Original Poster
Rep: Reputation: 15
Im sorry if I sound like an idiot, but can I connect to my ip from another computer over the internet using no-ip? Im going by this tutorial http://forums.xbox-scene.com/index.php?showtopic=454803 and a couple people are using it to make sites. I tried making http://born2death.no-ip.org to direct to my ip, but I can only connect to my public ip from my network.
 
Old 08-31-2006, 08:49 AM   #10
IchBin
Member
 
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Rep: Reputation: 15
As long as nothing is blocking your IP from reaching your machine you should be able to connect straight to your IP without using any DNS service. If your IP starts with 192 or 10 then that means you're probably behind a router which means you'll need to forward port 80 in the router to your Xbox IP.

Just so you are clear. If you have a router you will have what I call the external IP which is what your ISP assigns you. Anything that is connected to your router will have an inside IP usually beginning with 192 or 10. By default most routers block all ports. So that is why I said you'll need to tell your router to forward port 80 to your inside IP of your xbox.
 
Old 08-31-2006, 04:23 PM   #11
Russ S.
LQ Newbie
 
Registered: Jun 2006
Location: North Carolina
Distribution: Sidux
Posts: 26

Original Poster
Rep: Reputation: 15
cool man, i've been trying to do that now, i used these 2 command lines but they it didn't seem to have an effect, i have since then removed them.im using kanotix if that is helpful information.

iptables -A PREROUTING -t nat -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.1.50:80
iptables -A INPUT -p tcp -m state --state NEW --dport 80 -i eth1 -j ACCEPT

i really appreciate the help from everyone here.
 
Old 09-01-2006, 12:30 PM   #12
IchBin
Member
 
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Rep: Reputation: 15
Try this.

iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
 
  


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
hosting a website jitheshmurali Linux - Networking 2 04-24-2006 01:50 PM
website hosting from home - Help!!!! hifriend1 Linux - Networking 13 02-22-2006 08:17 AM
hosting my own website metallica1973 Linux - Networking 4 10-16-2005 02:49 PM
website hosting jkmartha Linux - Newbie 1 05-06-2005 04:01 AM
multiple website hosting matneyc Linux - Newbie 4 12-20-2004 03:21 PM


All times are GMT -5. The time now is 08:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration