I have been running my website on digitalocean for a few months now and domain from wix. I have hosted a simple wordpress website on this droplet.
I forgot to make payments from my digitalocean account and my account was suspended. As soon as I got to know, I made the payments and turned my droplet ON.
After turning my droplet ON, it shows "Welcome to nginx!" when I enter HTTP URL. When I enter HTTPS with SSL URL it shows "This site can’t be reached".
Normally both HTTP and HTTPS work normally and show the website. But after restart of my droplet it is not showing my website.
I thought that restoring from a backup would help but unfortunately I didn't enable backups !
Again turning droplet ON and OFF is not helping.
All the website wordpress files seems to be there in the root folder when viewed from console.
Versions and Details :
Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-137-generic x86_64)
root /var/www/html
As of now, my website is not accessible to any user ! I don't have much idea and I am a complete newbie :)
Help is appreciated !
Related
I made some apache2 configuration changes for an Ubuntu droplet in DigitalOcean and restarted apache2 and saved the changes. It worked. However when I logged out from server connection and rebooted my pc, The domain name did not show the website contents, although the droplet IP address is working fine. Can anyone give me a permanent solution on how to fix this?
Note: This is for a PHP Laravel project using Ubuntu Droplet in DigitalOcean web hosting. Other Configurations and Environment setups are done and working.
I am prototyping a Wordpress site in XAMPP. Yesterday I was able log in to wp-admin. Today, when I typed http://localhost/TestSite/wp-admin, I received the following message:
Localhost refused to connect
err_connection_refused
I have tried the following:
1. Started XAMPP control panel with Admin rights
2. Used 127.0.0.1 instead of localhost
3. Attached Apache port number to localhost- localhost:1337, localhost:80
4. Multiple browsers: Chrome, Internet explorer
5. I have used Chrome with Proxy server setting unchecked
Nothing has worked
The only change I made to my computer between yesterday and today was to install a VPN. I have tried to access WP-Admin with the VPN activated and with the VPN not activated. No difference.
Make sure Apache and MySQL are activated, then Try http://localhost:8080/TestSite/wp-admin.
VPN privately assigns a port number which you can't see. So ,please uninstall the VPN, restart the system. Follow the following step-
1. Start XAMPP control panel and start Apache and Mysql port.
2. Then go to http://localhost:8080/TestSite/wp-admin.
3. Now you'll see it has started and start working on it.
Enjoy!!!
I have domain from namecheap.com and they hosted on my dedicated server with bluehost.com. suddenly since last 2 weeks im facing an issue. on all my domain that i have from namecheap.com hosted on bluehost after browing for few mins gets ERR_CONNECTION_TIME_OUT error and then immediately page reloads automatically. Even on the Cpanel login page of these domains we get the same issue. Though we have some domains registered with bluehost it self and hosted on the same blue host server we dont get this error on those domain. We have contact bluehost they said all is fine from their end, we contacted namecheap.com they said all is good from their end. Now i am stuck what to check and where to check, we have reinstalled the website scripts disabled all the plugins but we still getting this error, it is not all the time when we try to browse website after two three pages we get this error and then its gone then after 2 3 pages it comes again and then gone.
Any sort of suggestions or help will be appreciated.
Typically, an error ERR_CONNECTION_TIMED_OUT occurs when you have intermittent Internet connectivity. I believe you won't face the same problem in other ISP. To fix that, you can try flushing the DNS of your local computer by issuing command ipconfig /flushdnsfrom command prompt. In addition, edit local computer hosts file located at Computer C:\ Windows\ System32\ Drivers\ etc\Hosts, and look for entry like 0.0.0.0 example.com. Remove that entry, save the file and restart your computer.
My site is pcc.edu.ph domain name is hosted in zoneedit.com, and I am trying to launch my website and make it live on the internet, oh and one more thing I am also using wamp 2.5 as server, and I'm using my computer as a webserver. I have followed the tutorials that was posted over the internet but nothing worked, I think there is something wrong with the apache setup, any suggestions?
here is what my apache httpd.conf
https://www.dropbox.com/s/nig7aro3mfg7cv2/httpd.conf?dl=0
any more suggestions?
I've built a website (PHP5, HTML5, CSS3, node.js, MySQL 5) that works fine - it requires SSL - I coded it to reload users with https if they're not already using it. I have deployed this site successfully to many linux servers before - I know how to do that but - I need to deploy this to a VPS that has WHM on it.
I studied WHM. What i've done so far at a high level:
added an account for say xyz - with shell access
ssh/ftp into that account using the ip-address of the VPS
install code in /home/xyz/public_html with 755/644 permissions
built a custom php.ini in /home/xyz/public_html with needed settings
mysql -u root - set root password and added database/user xyz and grant all on xyz to user xyz
MySQL Workbench into the VPS using SSL user xyz - set up database xyz
pointed the xyz domain at the IP address of the VPS
The website works for http but for https all I get is 404 Not Found. I expect it's looking in the directory where WHM is installed for those assets. I cannot see the apache logs to confirm this.
From what I know about SSL you can only have 1 website on a server that uses SSL. WHM is the one website on this server that is already using SSL.
This dawned on me - a duh moment when I got my first 404.
I've searched everywhere and found nothing - what i've managed to guess so far is that I will have to do this thru WHM - I need to:
add an IP-address in WHM - I see where to do that but do I just make one up? do I have to call GoDaddy and get them to give me one? or buy one?
move my xyz account to that IP address in WHM - I see where to do that
and then somehow get DNS servers to go to that IP instead of the IP of the VPS. This is where it gets over my head
I've searched for days and all I can find anywhere is tons of articles on installing SSL certificates. I'll get to that point eventually but for now I just want my website to work. Am I moving in the right direction?
I apologize for the long question I'm trying to demonstrate that I have researched this and tried everything I know. Thanks.
Usually, in a WHM server, the logs for a domain/s are located in the /usr/local/apache/domlogs directory. Check those.
Generic error logs for Apache are in the /usr/local/apache/logs/ dir.
With WHM you can install SSL certificates as much as you want. It has SNI enabled by default.
I cannot guess what your problem is without access, so you should start with your log files and go from there.