By tkc on
hie..everyone..well i am a newbie to the great world of drupal.However i have managed to develop a website that is fulfilling my requirements.
Well,i wanted to know how can i preview it,in the same way it will appear when published on net.?is there any way out?
Along with that i have got no clue of how to publish it on internet.i am having the domain name as well as booked the hosting for that on hostso.com .
Can u plz help me how should i go about it as in how should i take the back up of my website and host it.
Looking forward for your help...
Comments
hm, sounds like you're not
hm, sounds like you're not just new to Drupal but to hosting your website.
Preview, well, what you see locally is the same as it's going to be when on the internet, there's no difference. The only differences you'd experience is between you as user 1, i.e. the main admin, and other users, e.g. anonymous and authenticated users (or others if you've created other user roles). To see what other users see, simply log out, or create a dummy user account and log in with that - as should be obvious, you can do this locally.
With regards what to do to get it on the internet. Since I don't know your local environment nor what's available to you on hostso.com - I assume that you've set up an Apache server (PHP 5.x) and MySQL (5.x) locally and that your host provides the exact same as well. If not you might experience some errors, for example not all modules support php 5.3 yet but are fine running on php 5.2.x - first thing you do is export your database, you can use phpMyAdmin or the backup&migrate module for that. Then populate the database at your host with that. Then upload all files to root and change the settings in sites/all/default/settings.php to match your hosted database.
hie..thanks for your help.But
hie..thanks for your help.But am again stuck up at the problem where i have made the back up of my database.
Could u plz guide me in detail that what has to be done next as in how to populate my database on my host as im really unable to do that.?
in detail? sorry I've got no
in detail? sorry I've got no time for that.
go into your control panel, that of your web host, look for a database admin section, normally that is phpMyAdmin, then search for import there and provide the backup file.
if you have any problems with that, contact your web host.
in your drupal file structure, you should now edit the settings.php (located in sites/default) and provide there the new details of your database, again if you don't know those details, ask you web host provider.
hie..am done with uploading
hie..am done with uploading databse to public_html folder.Now what has to be done next as i have used the template and different modules also how will i be able to host them..?
as this is the first time i am uploading the web site so i am facing this problem
...
Does your host give you access to cPanel or Plesk? If they do, then look for something like MySQL database - where you create the database and user.
Create the database from your control panel and a user for it - this should be self-explanatory on that page. (remember the user name and the password you create.) Add the user to the database and make sure the user has All access to the database.
Then in your control panel, find phpMyAdmin - open it up and find the database you created. Click on that name. On the next screen find the tab that says "Import", click that, then use the form to upload the backup database to your site.
After that, edit your site/default/settings.php file with the database name, database user name, and user password.
If you have the Drupal files set up correctly, your site should be working and you'll have a live site to make changes on.
ohk..so here the database as
ohk..so here the database as well as template n modules gets uploaded then and there..
Thankz alot for your help..