How can I make my Web Server visible to the 'Outside World'?


Recommended Posts

Hi Guys,

 

Apologies for the newbie question......

 

I've setup a Web Server and i can access it it through localhost/index.php?item=2&type=library

 

Now I have my own domain name aide199.co.uk through LCN and I want users to access my Web Server by using http://aide199.co.uk

 

How can I do this?

 

Thanks in advance

Link to comment
Share on other sites

I think you need to port forward your "Web Server"

 

Unless you already did that?

Link to comment
Share on other sites

If LCN has hosting, the safer thing would be to put your site there and never expose your home server to the internet.

Link to comment
Share on other sites

If you are certain you want to self-host from home, LCN will need to add your home ip address to its DNS to point the domain to you. If your ip address isn't static they probably won't do it.

 

I would strongly urge you to not put a home server online.

Link to comment
Share on other sites

Someone else has advised me to create a free domain on no-ip.com which i have done myserver.ddns.net and forward my domain aide.co.uk to myserver.ddns.net

 

But I still can't get my head around how i make http://aide199.co.uk point to localhost/index.php?item=2&type=library

Link to comment
Share on other sites

Use ngrok and be done with it.  
 

Otherwise, you need to open port 80 to the world if you want to host on your machine, set up your web server, point no-ip to your public ip, which is hopefully static else you have to run a service to keep it up to date if your router can’t. You sure that’s something you want to do? You are better off finding a cheap web host. If it’s just to test, see ngrok. 

Edited by adrynalyne
Link to comment
Share on other sites

I just looked and LCN does hosting. Just get a basic site there. They will point your domain accordingly. If you can't figure out how to get this going, I doubt there is any likelihood of your home server being secure enough. Do the world a favor and don't run this from home.

Link to comment
Share on other sites

4 minutes ago, Biscuits Brown said:

I just looked and LCN does hosting. Just get a basic site there. They will point your domain accordingly. If you can't figure out how to get this going, I doubt there is any likelihood of your home server being secure enough. Do the world a favor and don't run this from home.

Thanks, you just reminded me to close off outside connections to my NAS. I successfully set it up to allow Plex from the internet using ddns.info but I don't actually need it, and it is a giant security risk so I just set my Qnap to only allow connections from the LAN IP range.

Link to comment
Share on other sites

On 04/04/2021 at 12:25, ady199 said:

Someone else has advised me to create a free domain on no-ip.com which i have done myserver.ddns.net and forward my domain aide.co.uk to myserver.ddns.net

 

But I still can't get my head around how i make http://aide199.co.uk point to localhost/index.php?item=2&type=library

you don't point to localhost, localhost is a term the computer identifies and redirects to itself.

If you've correctly setup the myserver.ddns.net , all you should need to do is to setup port forwarding on your home router such that all requests to Port 80 are redirected to your Computers LOCAL (intranet) IP. 

 

For a detailed answer check out: 

https://serverfault.com/questions/1058/how-do-i-set-up-a-web-server-out-of-my-home

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.