You can edit the default port in the web.conf file in $SPLUNK_HOME/etc/system/local.
This is documented quite well in the admin guide, as well as reference documentation.
Additionally, you can use the splunk command:
./splunk set web-port 80 -auth admin:changeme
To change your DNS, you will need to consult your own network infrastructure.