Skip to main content

Where do I find host name for connecting with remote client

Comments

3 comments

  • Eminds
    if the database is hosted on the same server where the application is hosted use the hostname as localhost, if the database is hosted different server ask the server owner or provider for the hostname
    0
  • rsims
    I am the new web developer and using cPanel for the first time. I want to use a REMOTE CLIENT to access the MySql database hosted on the same server which our cPanel is configured to administrate. Where, in cPanel, is the host name or IP for connecting to the MySql Database which cPanel is set up to configure.
    0
  • cPanelMichael
    Hello, You can use any domain name that points to the cPanel server (e.g. yourdomain.tld). If you want to find out which IP address your domain name resolves to, then you can use a website such as IntoDNS.com, enter your domain name, and scroll to the bottom to see what "A" record is utilized. Also, note that MySQL runs on port 3306 by default, and you need to authorize the remote host that's making the connection to MySQL using the following option in cPanel: Remote MySQL - Documentation - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.