Posts: 17
Joined: Sun Aug 16, 2020 9:09 am

Questions about LAMP website

Tue Sep 15, 2020 3:47 pm

Hey. If i make this LAMP website project, is that site title at wordpress configuration the name of the site? Or how can i give my site a name like www.name.com? And how can another people come to my website? Should i do something for that? And if i replace the index.html with my own site, then its that site, right?

I know there are much questions but im really sad that i dont know how to have a website :(

Thanks :)

W. H. Heydt
Posts: 14410
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Questions about LAMP website

Tue Sep 15, 2020 4:24 pm

In order to have your web pages accessible off your LAN, you need to have a publicly accessible IP address and a registered name associatable with that IP address. (That is...the network DNS servers have to know about it in order for outside systems to connect.)

User avatar
Posts: 11197
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Questions about LAMP website

Tue Sep 15, 2020 4:33 pm

RaspiFanBoy wrote:
Tue Sep 15, 2020 3:47 pm
If i make this LAMP website project..

Which specific project might that be, out of the uncountable number probably available from the Internet?

User avatar
Posts: 6993
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Questions about LAMP website

Tue Sep 15, 2020 4:38 pm

If you want people to reach your server trough a name like "www.name.com" then you have to buy/register that domain name. http://name.com is actually a place that sells domain-names. ( https://en.wikipedia.org/wiki/Domain_name )
Remember all those ads for something called "GoDaddy", they also sells domain names, there are a bunch of places that sells domain names.

After you have bought your domain name you have to register the Public IP of your Pi with the domain so that other people can find your server. This is usually where problems start, if you have internet trough a normal "home" internet connection then your ISP-router will most likely change the public IP-address from time to time and you will have no control over this. And then your domain-name points to nothing ( or even worse, the wrong server ).

Therefore a lot of people that like to run home-servers use "dynamic dns" services like for example: http://no-ip.com. They can give you access to sub-domain names ( example "name.hopto.org" ) where you don't control the whole name, but then they are also cheaper and sometime even free.
They have services that lets you update your public IP address automatically. Either via a script that runs on the Pi, but I also have seen this feature on wifi routers.

In the end you also have to do port-forwarding in your home-router so that when an incoming request comes to port 80 (http) or 443 (https) it will be redirected to your Pi.

User avatar
Posts: 2667
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near The National Museum of Computing

Re: Questions about LAMP website

Tue Sep 15, 2020 10:55 pm

Good answer

Return to “Beginners”