Advertisement:

Author Topic: need to help in moving to vps  (Read 1633 times)

mandi007

  • Full Member
  • ***
  • Posts: 204
need to help in moving to vps
« on: June 08, 2015, 12:53:46 pm »
i ma using the virtualmin and created the virtual host for my website and also the bind records with the entries in address. and also updated my nameserver in my domain.

now if i place a html file sasy for example index.html it is showing its content but if i move my osclass website files and imported the db with same password, username and db name. but if i open my website that a blank page and if i check the console it showing as

GET http://*****.com/ 500 (Internal Server Error)
Navigated to http://*****.com/

please share me how to move my website from shared to vps

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: need to help in moving to vps
« Reply #1 on: June 08, 2015, 01:32:27 pm »
Hi,

You need to change the two lines including WEB_ inside your config.php (in root folder of your Osclass installation).

Regards

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: need to help in moving to vps
« Reply #2 on: June 10, 2015, 11:59:57 pm »
In case teseo's suggestion is not working, did you use "Alias" in your VirtualHost or only "ServerName" ?

Ie.
ServerName www.yoursite.com
Alias yoursite.com

Regards,
Eric

mandi007

  • Full Member
  • ***
  • Posts: 204
Re: need to help in moving to vps
« Reply #3 on: June 16, 2015, 09:40:12 am »
yoursite.com

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: need to help in moving to vps
« Reply #4 on: June 16, 2015, 06:48:01 pm »
 ???

ephraim

  • Jr. Member
  • **
  • Posts: 80
Re: need to help in moving to vps
« Reply #5 on: June 26, 2015, 09:56:14 pm »
In case teseo's suggestion is not working, did you use "Alias" in your VirtualHost or only "ServerName" ?

Ie.
ServerName www.yoursite.com
Alias yoursite.com

Regards,
Eric

Yay, what Smartey means is did you use Virtual Host configuration on your server config. Usually httpd.conf and vhosts.conf on Apache server. Then restart your webserver and see if it's serving your content properly. Otherwise contact someone to configure your host environment, if you don't understand what we are talking about :).