New dedicated server, imported everything over, mysql works, just need help setting default page.

No, it hasnt? Please dont advertise your threads on here... I'm trying to solve my issue.
sorry, i did try to help you, but i don't get you anymore.
Feel free to add me on discord if you are using it ( LazosPlaying#9695 or skype aljazstarc ) i can help you using voice call (much easier) :) I can set it up if you contact me. Online from 4:20pm (+1).

and about "advertising"... if you can help me with that it would be much appreciated ;)
 
http://help.ovh.co.uk/DNSServers - is this it? I'm using a ovh dedicated server


where is the public_html directory? I dont seem to have one.


Thanks for the help!
I also use OVH for my server, but my DNS is hosted via CloudFlare and my domains are (for the name servers) at NameSilo (the registrar). The NS's at NameSilo point to the DNS servers at CloudFlare.
The public_html directory should be in your /home/<yourusername> directory - but that's if you have set it up that way. If you have not, then your files typically go into /var/www or /var/www/public_html.
The base directory (referred to as DocumentRoot) has to be defined in the Apache vhost definition stanza or vhost file.

If you don't have everything working, and don't require a panel (cPanel, etc) then I'd suggest getting your DB exported back out and saving it locally along with your files (for any sites you have existent) and then re-imaging the server with CentOS and then use CentMin Mod. It uses nginx for the HTTP server and is MUCH higher in performance than apache is.
 
https://gyazo.com/7a15f3f4c281c48a61a0cfb5d4662927
I also use OVH for my server, but my DNS is hosted via CloudFlare and my domains are (for the name servers) at NameSilo (the registrar). The NS's at NameSilo point to the DNS servers at CloudFlare.
The public_html directory should be in your /home/<yourusername> directory - but that's if you have set it up that way. If you have not, then your files typically go into /var/www or /var/www/public_html.
The base directory (referred to as DocumentRoot) has to be defined in the Apache vhost definition stanza or vhost file.

If you don't have everything working, and don't require a panel (cPanel, etc) then I'd suggest getting your DB exported back out and saving it locally along with your files (for any sites you have existent) and then re-imaging the server with CentOS and then use CentMin Mod. It uses nginx for the HTTP server and is MUCH higher in performance than apache is.
https://gyazo.com/7a15f3f4c281c48a61a0cfb5d4662927 I dont have a public_html file.

Is it needed, or can I use www?
 
By default when you install apache2 your web accessable directory is /var/www
So if you put an index file in that directory ( should look like this /var/www/index.php ) it should work.
If you can, try to empty the folder /var/www and connect on your server, if your apache2 is running, you shlod see the default apache2 page "it works"
 
Top Bottom