User avatar
santosperu
Posts: 2
Joined: Mon Jun 17, 2019 4:51 pm
Contact: Website

Using apache with raspbian but IP changes when I reboot modem

Mon Jun 17, 2019 5:05 pm

Hello,

I have setup m raspberry pi as a web server.

My problem is that when I reboot my modem/router the IP for the Raspberry Pi changes as well.

Is there anyway to make its IP fixed/static, so I don't have to change the configuration of SSH/FTP, and so that I am able to always browse my /www folder when I am at another pc within my network?

Thanks,

SJ

Andyroo
Posts: 3255
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Using apache with raspbian but IP changes when I reboot modem

Mon Jun 17, 2019 5:33 pm

Look in your router configuration - you should be able to assign static IP addresses by MAC address in there.
Need Pi spray - these things are breeding in my house...

Return to “Networking and servers”