website in hotspot

Hello,
I have put a website in hotspot folder but I noticed that if the user has the URL of the website, he can view the site without login with his username and password. How to prevent and always forward to login.html as all internet page?

Impossible.

Routers aren’t web servers. Get a real web server, put it in front of the Hotspot, problem solved.

it is not big website. it is just small site with some html page and no big files to download. The website is in a folder inside hotspot and I put its link in the status page. I have RouterOs in intel PC with 40GB hard drive

You still cannot control which pages in a Hotspot a user can load.

Is there a way to make full site using the space in the 40GB hard drive and only hotspot users can access it

Since it’s not a fully functional web server you probably can’t make a ‘full site’ - whatever that means - in the first place.

Just run a web server. Routers aren’t web servers and shouldn’t be web servers. What happens when the router gets busy? Does it stop being a web server so it can use its resources to route packets? Does it stop being a router and starts dropping packets going through it so it can answer requests from HTTP clients?

My setup has ADSL modem+router before the Mikrotik.

ADSL modem:
WAN: public IP from ISP
LAN:192.168.1.1

Mikrotik:
WAN: 192.168.1.100
LAN:192.168.2.1
Can I connect a Ethernet hard disk in the Lan of ADSL modem and give it IP such as 192.168.1.150 and in IP–>DNS in Winbox add 192.168.1.150 with http://www.myserver.com. Is this a correct way to make a server for the hotspot users?