Jump to content
  • 0

Web hosting or VPS needed ?


mrlongshen

Question


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

i have a vps, but i also have a webhosting. can i install my control panel on webhosting or install in vps ? 

because my webhosting got the the domain. Or should i just buy a domain name only instead of buy a webhosting ?

example my vps ip 192.168.1.1 so when i buy a domain i will just point to it ?

 

regard

confuse

Edited by mrlongshen
Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  270
  • Reputation:   20
  • Joined:  12/10/11
  • Last Seen:  

I use both.

 

My webhosting hosts my forums/website - it connects to my server via sql

 

 

VPS hosts my server files, I find this method the best, that way if the server goes down, the website is independent and players can keep informed incase of your server moving to different host etc

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

I use both.

 

My webhosting hosts my forums/website - it connects to my server via sql

 

 

VPS hosts my server files, I find this method the best, that way if the server goes down, the website is independent and players can keep informed incase of your server moving to different host etc

 

thx alot sir :)

+1 for u . hehee

 

btw i need to configure my flux cp config, to my vps server database right  ?

1000 MB (1GB) Web And Email Space

50000 MB (50GB) Bandwidth/month

Unlimited Subdomain and Domain

Unlimited Email

Unlimited mySQL

Unlimited Addon & Park Domain

 

its enough right ? 

Edited by mrlongshen
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   5
  • Joined:  05/30/12
  • Last Seen:  

yup, use ur phpmyadmin/mysql username and password for the database

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  270
  • Reputation:   20
  • Joined:  12/10/11
  • Last Seen:  

I use both.

 

My webhosting hosts my forums/website - it connects to my server via sql

 

 

VPS hosts my server files, I find this method the best, that way if the server goes down, the website is independent and players can keep informed incase of your server moving to different host etc

 

thx alot sir :)

+1 for u . hehee

 

btw i need to configure my flux cp config, to my vps server database right  ?

1000 MB (1GB) Web And Email Space

50000 MB (50GB) Bandwidth/month

Unlimited Subdomain and Domain

Unlimited Email

Unlimited mySQL

Unlimited Addon & Park Domain

 

its enough right ? 

 

 

As Myth said, use your sql user/password to connect flux cp to the vps. I always create a separate user just to connect to sql.

 

Example:

 

If I host my website with asurahosting, I will need to make sure that the new User has ALL privileges and the allowed host it can connect to is cpanel.asurahosting.com

 

In my users list in phpmyadmin it looks like this

 

user1/password/127.0.0.1 - allows my server to start using its local ip and permissions

 

user2/password/localhost - allows any user on any IP to connect via phpmyadmin

 

user3/password/cpanel.asurahosting.com - allows my webserver to connect to sql

 

This way all the passwords are different and I can keep track of which user connects to what via sql.

 

 

Those website stats you gave me seem pretty good, more than enough for what you need.

Edited by Jasc
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

yup, use ur phpmyadmin/mysql username and password for the database

 

thx alot sir :)

 

 

 

I use both.

 

My webhosting hosts my forums/website - it connects to my server via sql

 

 

VPS hosts my server files, I find this method the best, that way if the server goes down, the website is independent and players can keep informed incase of your server moving to different host etc

 

thx alot sir :)

+1 for u . hehee

 

btw i need to configure my flux cp config, to my vps server database right  ?

1000 MB (1GB) Web And Email Space

50000 MB (50GB) Bandwidth/month

Unlimited Subdomain and Domain

Unlimited Email

Unlimited mySQL

Unlimited Addon & Park Domain

 

its enough right ? 

 

 

As Myth said, use your sql user/password to connect flux cp to the vps. I always create a separate user just to connect to sql.

 

Example:

 

If I host my website with asurahosting, I will need to make sure that the new User has ALL privileges and the allowed host it can connect to is cpanel.asurahosting.com

 

In my users list in phpmyadmin it looks like this

 

user1/password/127.0.0.1 - allows my server to start using its local ip and permissions

 

user2/password/localhost - allows any user on any IP to connect via phpmyadmin

 

user3/password/cpanel.asurahosting.com - allows my webserver to connect to sql

 

This way all the passwords are different and I can keep track of which user connects to what via sql.

 

 

Those website stats you gave me seem pretty good, more than enough for what you need.

 

ohh.. ok . i will create many user. so i will know. for password security.

not only just admin only. right. hehe.

thx sir. yeah its seem good, because i want make my own site instead ragnarok. hehe

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

 

I use both.

 

My webhosting hosts my forums/website - it connects to my server via sql

 

 

VPS hosts my server files, I find this method the best, that way if the server goes down, the website is independent and players can keep informed incase of your server moving to different host etc

 

thx alot sir :)

+1 for u . hehee

 

btw i need to configure my flux cp config, to my vps server database right  ?

1000 MB (1GB) Web And Email Space

50000 MB (50GB) Bandwidth/month

Unlimited Subdomain and Domain

Unlimited Email

Unlimited mySQL

Unlimited Addon & Park Domain

 

its enough right ? 

 

 

As Myth said, use your sql user/password to connect flux cp to the vps. I always create a separate user just to connect to sql.

 

Example:

 

If I host my website with asurahosting, I will need to make sure that the new User has ALL privileges and the allowed host it can connect to is cpanel.asurahosting.com

 

In my users list in phpmyadmin it looks like this

 

user1/password/127.0.0.1 - allows my server to start using its local ip and permissions

 

user2/password/localhost - allows any user on any IP to connect via phpmyadmin

 

user3/password/cpanel.asurahosting.com - allows my webserver to connect to sql

 

This way all the passwords are different and I can keep track of which user connects to what via sql.

 

 

Those website stats you gave me seem pretty good, more than enough for what you need.

 

 

hello sir, i dont understand.. i have a website. then i install main.sql. and log.sql

then i config my inter.conf with on my website sql. but when i start cannot connect.

how do i config my server on vps but running all sql in my webhosting ? is that possible ?

or not ?

 

and for the flux cp, should i install in website or vps ? 

bump post~

 

I install my control panel on my webhosting, and then i config my server.php to point my sql serves on the vps.

but i got this error.

 

Exception Details

Error: PDOException

Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '116.xxx.212.xxx' (4)

 

 

what should i do ? 

just a control panel problem, but my server running well

Edited by mrlongshen
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   6
  • Joined:  11/13/12
  • Last Seen:  

I suggest you host your flux on a webhost, then have it point to your VPS' MySQL

 

Exception Details
Error: PDOException
Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '116.xxx.212.xxx' (4)

 

It might be permission thing, I usually do 'setsebool -P httpd_can_network_connect=1' if I'm on Linux

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

I suggest you host your flux on a webhost, then have it point to your VPS' MySQL

 

Exception Details
Error: PDOException
Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '116.xxx.212.xxx' (4)

 

It might be permission thing, I usually do 'setsebool -P httpd_can_network_connect=1' if I'm on Linux

 

sir im on centos .. 

same right ...  ? i will try the  'setsebool -P httpd_can_network_connect=1' 

btw.. can i run the the main.sql and log.sql on my webhost ?

cannot ea  ? i want to save the database on webhost so then i can backup if the vps got problem. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   5
  • Joined:  05/30/12
  • Last Seen:  

i suggest dont use your webhost for sql hosting. use your webhost for flux cp only and connect your webhost sql to your vps 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   6
  • Joined:  11/13/12
  • Last Seen:  

Yes it's possible, but I think it's not advisable to host your DB on a shared web hosting.

 

If you want to secure back ups, do a crontab that dumps your sql files to a database outside your VPS :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

i suggest dont use your webhost for sql hosting. use your webhost for flux cp only and connect your webhost sql to your vps 

 

how to connect the fluxcp to the sql database on forum. when i tried to connect mysql cannot connected. Its seem disallow connection from outside.

 

 

Yes it's possible, but I think it's not advisable to host your DB on a shared web hosting.

 

If you want to secure back ups, do a crontab that dumps your sql files to a database outside your VPS :D

 

 

ohhh. thx alot sir . got command to backup database ? mayb automatically every weekend ?

Link to comment
Share on other sites

×
×
  • Create New...