Menu

hostname

Help
mathmojo
2004-07-19
2004-07-21
  • mathmojo

    mathmojo - 2004-07-19

    This is going to be mind-numbingly ignorant of me to ask, but here goes:
    On the form to creat a form, it asks for "Hostname". What do they want here? The name of my website? The name of the hosting company? The URL of either?

    Please excuse the naivite of the question. Any help would be appreciated.

    Thanks,

    Brian and Mathmojo

     
    • warren

      warren - 2004-07-20

      I also have the same question.  I have tried all possibilities I could think of.  'Hostname' is the name of the computer which runs the database?  That is my web site's computer?  Which one - they probably have quite a few.

       
    • warren

      warren - 2004-07-20

      I see in another post that Musawir Ali said:

      "frschof@localhost is not your hostname. Your hostname is localhost , and user username is frschof"

      Do I enter "localhost " for hostname? (does it have to have a space after the word?).
      Or do I just enter "mysite.com"?

      I'll keep trying...

       
    • warren

      warren - 2004-07-20

      OK, I got it working.

      Use 'localhost' - no spaces.

       
      • Musawir Ali

        Musawir Ali - 2004-07-21

        hostname is the hostname of the database server. This really depends on your configuration of the database server. Mostly, by default, the hostname localhost works if the database server is on the same machine as where your PHP pages are located. Sometimes, people configure the database to have a certain hostname. For example, my personal webserver and database server uses the hostname "rooty" instead of localhost.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.