Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Category:Tetra Clients/Web Hosting Of BJP In Godaddy Server
Category
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[category:Tetra_Clients]] ==BJP WEB HOSTING ON GODADDY SERVER== =Prerequisite= 1. website files (Named as Hostfile in the document) 2. Mysql Database file in .sql format =Process= ==Website Upload== 1. Login to Godaddy server. 2. Open that given host file and paste it to: ( Hostfile are the website files which BJP has asked us to get ) # mv hostfile /home/public_html/hostfile 3.Go to configuration file of Apache server i.e : #vim /etc/httpd/conf/httpd.conf ( Add following Lines - when the website needs to be pointed to '''bjpls.tetra.in''' ) <VirtualHost ip:80> DocumentRoot /home/public_html/bjpinloksabha/ ServerName bjpls.tetra.in ErrorLog logs/bjpinloksabha-error_log CustomLog logs/bjpinloksabha-access_log "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" <Directory /home/public_html/bjpinloksabha> DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> ==Updating Mysql data== Go to sql command promt using : ( Mysql database's SQL file is been given by BJP ) 1. mysql>mysql -u{username} -p{password} 2. mysql>show databases; 3. mysql>create database db_name; 4. mysql> CREATE USER 'tetra'@'localhost' IDENTIFIED BY 'some_pass'; 5. mysql> GRANT ALL PRIVILEGES ON *.* TO 'tetra'@'localhost' WITH GRANT OPTION; 6. quit Store the dump that you have : #mysql -u{username} -p{password} db_name < /path/db.sql ==GO TO FILE WHERE YOU CAN CONNECT DATABASE TO HOSTFILE== 1. vim /home/public_html/admin/connect.php 2. Where you can enter the created database user name and password. 3. When Website run then some Notices and Error are shown to you For that we make entry in one file: # vim /etc/php.ini 4. Uncomment this line OR write this line error_reporting = E_ALL & ~E_NOTICE 5. Comment this line error_reporting = E_ALL & ~E_NOTICE | E_STRICT 6. Reload the apache server /etc/init.d/httpd reload 7. Please check the site.
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)