why localhost?

Hello everyone
I just installed ispconfig, but i have a problem i used https but i can't get onto the website https://www.domain.com:81 i can only get on with https://localhost:81 can i somehow change this or do i need to reinstall and where do i make sure i get the domain.com