computernerd21 Posted June 20, 2014 Share Posted June 20, 2014 Hi, I'm not sure if this is the right forum to post this question, but I'll still post it. I'm a newbie programmer, have 1 year experience of php, mysql and html and know how to make a basic website, but I've never actually uploaded the already written code on the internet.So my question is, if you use vertrigo serv and have folders full of php files, what do you do after getting a domain? I read that dreamweaver does that for you, but i also read that it is a closed source software with limitations if you get the free version.The other choice is using FileZilla(which I don't fully understand yet ) i presume. Quote Link to comment Share on other sites More sharing options...
Solution JonnoTheDev Posted June 20, 2014 Solution Share Posted June 20, 2014 (edited) As straight forward and to the point as I can be. vertrigoserv is a web environment for your desktop computer so you can execute php code and have mysql databases, etc. Forget that you are using it for development as many people build websites and run them from their desktop computers and then upload them to a live web server later on. Here's the basics on what you need to do. 1. Buy a domain name (i.e. from godaddy.com or another reseller) 2. Find a web host. This is a company that hosts servers where your website will sit and may offer other services such as email for your domain name. You can buy hosting from all over the place for your budget, just do a Google search. If you are on a small budget then you probably want to look for a simple shared hosting package using LAMP (Linux, Apache, MySQL, PHP). i.e. you share the server with other people and it usually comes with a simple control panel that you can setup websites, email, mysql databases, etc. from. 3. Find out what the nameservers are for the webhost you choose i.e. NS1.MYWEBHOST.COM & NS2.MYWEBHOST.COM and point your domain name at them. You can do this from the website that you bought your domain name from. You may have a my account area where you can manage your domain names. You can then follow the instructions you get from your hosting company to add your domain into your account. Once you do this the folders should be setup to upload your website files to. 4. Setup any mysql databases you need from your server control panel 5. Setup an FTP account so you can upload your website files if this is not done for you automatically on your server control panel 6. Download FTP software such as Filezilla. You can even use Dreamweavers built in FTP functionality if you are familiar with it and enter the FTP details for your server. 7. Upload the PHP, etc. files to your server in the correct folder. This is called the website document root. On shared servers it is usually a folder labelled www or public_html 8. Type your domain into your web browser and away you go. Note that changing the nameservers for a domain i.e. pointing the domain to your webhost can take upto 24 hours to complete. Also websites that sell domain names may also offer web hosting as part of a package when you buy your domain name. To keep everything in one place this maybe the simplest option but do some research on the reliability and the quality of the support that the company offers because there are a lot of poor webhosts out there. Edited June 20, 2014 by neil.johnson Quote Link to comment Share on other sites More sharing options...
computernerd21 Posted June 23, 2014 Author Share Posted June 23, 2014 Thanks for the reply. So what your saying is that vertrigo is just to test mysql and php on your computer meaning locally right? Can I use the folders and files that I have ready on them to copy them into the website document root? and how should I use my mysql databases, meaning, should I export them as zip files and then import them in ithe same root folder? I'm confused about the 4th part:'Setup any mysql databases you need from your server control panel'. thanks again, sorry for all the questions ^__^ and I really apreciate you replys Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted June 23, 2014 Share Posted June 23, 2014 So what your saying is that vertrigo is just to test mysql and php on your computer meaning locally right? Yes Can I use the folders and files that I have ready on them to copy them into the website document root Don't see any reason why not as long as you haven't hard coded any paths to files / folders using Windows format and how should I use my mysql databases, meaning, should I export them as zip files and then import them in ithe same root folder? You can export the database and re-import on the live server. Does vertrigo come with the phpmyadmin package to manage your databases. If so use this to export the database. I'm confused about the 4th part:'Setup any mysql databases you need from your server control panel When you have a shared server hosting package it will come with a control panel that you can log into to setup various things including mysql databases. There will be a page within the control panel for you to create a database and create a database user. Once this is done you will get an option to manage the database. This will simply take you to phpmyadmin where you can import the structure and data from your local copy. You will need to edit your connection details in your code so it matches the username / password / database name that you setup in your control panel. Quote Link to comment Share on other sites More sharing options...
computernerd21 Posted June 23, 2014 Author Share Posted June 23, 2014 thank you so so much.I needed to clear this things up, now I get it :3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.