F5F Stay Refreshed Software Operating Systems The site isn't functioning properly on your Ubuntu system.

The site isn't functioning properly on your Ubuntu system.

The site isn't functioning properly on your Ubuntu system.

Pages (2): 1 2 Next
P
pidies
Member
151
05-22-2025, 02:58 AM
#1
I attempted to run my site locally on Ubuntu 18.04 LTS, but faced issues setting up the domain in Apache. After following online guides, I changed the ServerName to mydomain.com in the configuration file and tried to enable the site with a2dissite. However, whenever I accessed the site from this machine, it displayed the default Apache Ubuntu page instead of my website. I need advice on how to fix this setup.
P
pidies
05-22-2025, 02:58 AM #1

I attempted to run my site locally on Ubuntu 18.04 LTS, but faced issues setting up the domain in Apache. After following online guides, I changed the ServerName to mydomain.com in the configuration file and tried to enable the site with a2dissite. However, whenever I accessed the site from this machine, it displayed the default Apache Ubuntu page instead of my website. I need advice on how to fix this setup.

H
HdoubleO
Member
186
05-22-2025, 04:12 AM
#2
According to what I understand, you need to purchase the domain name individually or utilize a subdomain offered by your hosting service... such as yoursitename.000webhostapp.com which is available for free.
H
HdoubleO
05-22-2025, 04:12 AM #2

According to what I understand, you need to purchase the domain name individually or utilize a subdomain offered by your hosting service... such as yoursitename.000webhostapp.com which is available for free.

E
eLicks
Member
187
05-26-2025, 03:44 AM
#3
I realize I was attempting to configure Apache with the domain I purchased earlier that day. I wasn’t sure what I was doing—I didn’t understand virtual hosts or anything similar—but now I can reach that domain from any device, except the one I tried to set up.
E
eLicks
05-26-2025, 03:44 AM #3

I realize I was attempting to configure Apache with the domain I purchased earlier that day. I wasn’t sure what I was doing—I didn’t understand virtual hosts or anything similar—but now I can reach that domain from any device, except the one I tried to set up.

P
PolarZone
Junior Member
30
05-30-2025, 08:29 AM
#4
Remove Apache from your device, it should point to a locally hosted version. Just delete a few config files from /var/www/... and it’ll work smoothly.
P
PolarZone
05-30-2025, 08:29 AM #4

Remove Apache from your device, it should point to a locally hosted version. Just delete a few config files from /var/www/... and it’ll work smoothly.

A
AGamersHero
Member
65
06-02-2025, 12:07 PM
#5
I recently tried it and now accessing the domain results in a site that can't be reached.
A
AGamersHero
06-02-2025, 12:07 PM #5

I recently tried it and now accessing the domain results in a site that can't be reached.

C
camchrism
Member
212
06-05-2025, 12:28 PM
#6
Which one are you asking about?
C
camchrism
06-05-2025, 12:28 PM #6

Which one are you asking about?

T
TheSk3livegam3
Junior Member
1
06-05-2025, 05:19 PM
#7
A2dissite activates the site again using a2ensite. It essentially copies or links your configuration files from /etc/apache2/sites-available to /etc/apache2/sites-enabled. You can also handle it manually if needed.
T
TheSk3livegam3
06-05-2025, 05:19 PM #7

A2dissite activates the site again using a2ensite. It essentially copies or links your configuration files from /etc/apache2/sites-available to /etc/apache2/sites-enabled. You can also handle it manually if needed.

V
Veyox
Junior Member
5
06-11-2025, 09:46 PM
#8
I completed the instructions starting at step 5.
V
Veyox
06-11-2025, 09:46 PM #8

I completed the instructions starting at step 5.

S
SnipeKiller44
Junior Member
7
06-12-2025, 10:12 AM
#9
I removed the .conf file earlier, which caused the error when trying to run a2ensite on the same domain.
S
SnipeKiller44
06-12-2025, 10:12 AM #9

I removed the .conf file earlier, which caused the error when trying to run a2ensite on the same domain.

W
WantedMatt21
Member
72
06-12-2025, 12:45 PM
#10
You're experiencing confusion about where your files are stored. It seems there might be a mix-up between your local setup and the server environment. The Ubuntu 18 machine you mentioned is likely separate from the files hosted on the server. Consider verifying your file locations and checking if the server hosting service supports remote access.
W
WantedMatt21
06-12-2025, 12:45 PM #10

You're experiencing confusion about where your files are stored. It seems there might be a mix-up between your local setup and the server environment. The Ubuntu 18 machine you mentioned is likely separate from the files hosted on the server. Consider verifying your file locations and checking if the server hosting service supports remote access.

Pages (2): 1 2 Next