LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-30-2020, 09:14 PM   #1
CompleteNewbie2020
LQ Newbie
 
Registered: Oct 2020
Posts: 5

Rep: Reputation: Disabled
I need clarification on some concept


I spent the last week configuring apache on ubuntu and i got my site running on my router(I could access it from different computers in my house), but I couldn't make it available on the internet. I watched a couple of videos about buying a domain name on godaddy.com and giving godaddy your router's IP address to make your site available on the net, but then I found a free hosting company called Infinityfree and I just upload my website on it via FTP and I never even used Apache. So why use Apache in the first place? Are internet hosting company mandatory in order to make my website available on the internet?
 
Old 11-02-2020, 09:45 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
To get to your site, it needs to be hosted somewhere and have an IP address. For a small site, the best option is a web hosting company as you found out. For a larger site with a lot of traffic, this can get expensive so you may want to move up to someone like AWS where you are paying for servers and traffic but running your own customized stack with apache or node.js. Only someone very big or doing it for fun runs their own servers. Home ISP providers may not allow you to run servers; check your contract.

Any of these will also need a DNS provider to host their domain name(s) and point to the IP. That can be provided by the web host, or by a separate DNS provider. Your home IP address is likely not static, but there are name services that will provide dynamic DNS to home IPs.

In the early days there weren't as many options, so I used to run servers for DNS, web and email for a small company. I outsourced to a web hosting company 20 years ago. The economics made it an easy choice. I kept the DNS provider separate in case I ever got into a dispute with the web host company.
 
  


Reply



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
I just need some clarification Duneatreides Linux - Newbie 2 03-12-2007 05:48 AM
High Percentage Of Non-Contiguous Files - need some clarification Old_Fogie Slackware 12 05-14-2006 12:43 AM
squid not refreshing? Need some clarification. taiwf Linux - Software 0 03-15-2006 10:52 PM
installing software from tarball, need some clarification 24jedi *BSD 3 02-10-2006 12:55 PM
Setting up a AP with madwifi, need some clarification ericthebikeman Linux - Wireless Networking 1 03-18-2005 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:52 PM.

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