Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-16-2008, 12:48 AM   #1
LQ Newbie
Registered: Mar 2008
Posts: 13

Rep: Reputation: 0
Assign Public IP to my Unix Server

I have a Public IP, I want to host my server for public access. I have a router too. Router Configuration is fine. I need to get page from my server when i put Public IP in Browser. Where is the public IP configuration in my Ubuntu Server so that my problem can be solved.
Old 12-16-2008, 01:57 AM   #2
Registered: Oct 2005
Location: Australia
Distribution: Slackware & Kubuntu & CentOS
Posts: 106

Rep: Reputation: 17
generally you need to set your router to forward all requests to your linux server. This is usually called the dmz host. This will allow your linux server to be accessable for all services. The better option is to only forward ports you need (80 for web server, 25 for incomming mail, etc). This is called port forwarding, or pat, or reverse nat. This way only the services you want will be exposed.

You will need to have your linux server on a static ip address for this to work (or get dhcp to hand out the same address each time - called a reservation)

once your router is doing this, your linux server will respond fine.

Hope this helps, if not feel free to ask for further help


access, configuration, ip, public, remote, server

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
Assign a domain name to my server? CHambeRFienD Debian 5 08-24-2007 09:38 PM
SDF Public Access Unix Sytem Turns 20 schentor Linux - News 0 06-12-2007 03:29 PM
Howto Assign Multiple Static Public IP Addresses under SBC's PPPoE Static Ip system o trekgraham Linux - Networking 8 04-17-2007 11:51 AM
assign static IP to the server ashley75 Linux - General 2 03-10-2005 04:47 PM
I need to assign a Public IP to my Firewall How? mfeoli Linux - Networking 3 02-05-2004 08:54 PM

All times are GMT -5. The time now is 05:02 PM.

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