hostname for testing and remote servers
Posted: Sat Dec 17, 2011 7:17 am
I have created a few .php webpages using dreamweaver that I am able to run on my localhost. I have a testing server that I use to test my pages before uploading them on my website.
My hostname is: localhost
Database name: WeeklyPlans
Username: user1
Password: password1
All this information is saved in a file saved in a connection folder.
Now when I upload my webpages on the remote server, the settings are different.
Server name (hostname): SQL123
Database name: WeeklyPlans
Username: user1
Password: password1
I have to change the name of the server in the file everytime I upload files. What am I missing here? This is driving me nuts. Can someone please tell me how can I view my webpages on the remote and localhost without changing the hostname?
Thank you.
My hostname is: localhost
Database name: WeeklyPlans
Username: user1
Password: password1
All this information is saved in a file saved in a connection folder.
Now when I upload my webpages on the remote server, the settings are different.
Server name (hostname): SQL123
Database name: WeeklyPlans
Username: user1
Password: password1
I have to change the name of the server in the file everytime I upload files. What am I missing here? This is driving me nuts. Can someone please tell me how can I view my webpages on the remote and localhost without changing the hostname?
Thank you.