Tutorials > TileMill/Mapbox > pUBLISHING ON THE WEB
Unlike a simple image, or a file, a fully interactive map (one with zoom capability, or hyperlinked pins) needs to have a host where the map file can be placed and that will serve the map's information as a user clicks through the map.
Partly this is because of the unusual file types used for interactive maps. Consider, for example, this MBTiles structure to the TileMill maps. But the other reason has to do with the display in which the map lives on your website. Basically, think of these interactive maps as webpages within a webpage when you see them embedded on a site somewhere. Often this is done (as it is with TileMill) using an iframe.
To host your map on the web...
Upload the MBTiles file
Login to mapbox.com, and click on the Data box in the upper right, next to your name. You'll see a very clear dashboard:
Click on the Upload MBTiles button and navigate to wherever you saved your MBTiles file on your hard drive. Upload the file.
Publishing to the web
Once your file is uploaded, click on the name of your file in the Data list. This will bring up a small preview along with an option to create a map project using your file as a layer. Check the box marked "Visible to public API." This will allow you to embed it in a website. Click on "+Create Project."
Your map will now show up in a full screen. If you click on "Save," you should then be able to bring up your tool menu by clicking on the gear icon in the top left. Under the Info tab, look for the code for Embed. It will look something like this:
<iframe width='100%' height='500px' frameBorder='0' src='http://a.tiles.mapbox.com/v3/nmarw49.h3eb371l/mm/zoompan,zoomwheel,geocoder,share.html'></iframe>
This is all the code you need to embed. Close out of Mapbox.