setting up new server, need clarity on Lan and Wan ips

i am currently setting up a new server, my question is this, i purchased a static ip from my ISP provider. i am not sure where i use this static IP. i understand that you have private IPs for your Lan, where each machine can have a static lan ip such as, i am not sure where i apply the wan static ip, Does it only go in the router? or Does it go on the server itself, if so, where? i am running Centos 7 and i need a break down on where the  lan IPs are used and where the paid static IP is used?

i have a wired modem from my isp that is connected directly to my router, the router is connected to the server thru port 1, what do i need to do? Need help.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

the static ip you purchased from your ISP is the one that will never change on your incoming connection.  So this ip can be used to map your internet dns name to.  ( you might have can be mapped to that ip).
The best practice is to have your internal machine (the CentOS 7 machine that receives the http-requests) to have a static ip address assigned. (this usualy will be in the typical 192.168.x.x/24 range).

Next you have to set your router to forward all http trafic from your wan to that internal ip-addres that you assigned to your internal webserver.

This is called port forwarding (all external traffic on port 80 needs to go to port 80 on the internal fixed ip)

Check this atricle on how to do that!
Muhammad BurhanManager I.T.Commented:
All of the private IPs use that WAN IP which you purchased and that MODEM is responsible for this process which is called NATTING.

if you type on google 'what is my ip' from your server so it return the IP address which your are using to access internet and this is your purchased IP, but when you do ifconfig in CentOS it will not show that IP which google shows.

The IP which is configured in CentOS is your private IP and may be the MODEM is responsible for this 'IP Assigning' process too.

now if MODEM is assigning IPs so all of your Servers and Workstation get IP automatically when they are connected to MODEM directly or via any Switch.

please check the MODEM status first from your server.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KoningCTOAuthor Commented:
reading both gave me the solution to my issue
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.