Shouldn't use "type", as you can e.g also copy/paste.
Shouldn't use "next to" as that is not specific enough, prepending to domain is also "next to".

"To specify a non-standard port, append a colon followed by the port number to the domain."
or
"To specify a custom port, append a colon to the domain followed by the port number."
or so