Mysql hostname for subdomain?


Hello, I am setting up a new domain, but I am trying to set up the whole site first with a dreamhost subdomain (i.e., before I transfer the DNS over. Everything seems to be working except for my database. I can’t connect using the software I want because it needs the database hostname. I can’t set up a regular hostname since I don’t have the domain pointing at the dreamhost DNS yet, and I can’t use “localhost”. Is there anything else I can do to get it to work, short of transffering the DNS early?


Actually, I just figured out how to do it. I just used the domain of another site that I already have set up for the hostname. Seems to work ok.