Publish to IPNS

We created a simple web page and uploaded on the private network of IPFS.
Tutorial Used : https://ipfs.io/ipfs/QmdPtC3T7Kcu9iJg6hYzLBWR5XCDcYMY7HV685E3kH3EcS/2015/09/15/hosting-a-website-on-ipfs/

On Step 4 we Published the site hash.
On viewing https://xxx.xxx.xxx.xx:8080/ipns/< peerID > we get below error

ERROR core/serve: ipfs resolve -r /ipns/QmQHmwRBcqXYcMbwwLfBcTFYQLPaNTrPmBMQL8KVDET7Lx: Could not resolve name. gateway_handler.go:584

Before running ipfs name publish, could you run ipfs swarm peers to make sure you’re connected to other peers?

Thanks @VictorBjelkholm … swarm peer was disconnected. I reconnected it to the peer and everything works fine :slight_smile:

Woho, glad you got it working and happy to help!