Questions tagged [ubuntu]

An open source operating system based off of Linux.

Filter by
Sorted by
Tagged with
15
votes
4answers
107k views

How to enable use of .htaccess in Apache on Ubuntu?

I'm trying to enable use of htaccess file in Ubuntu 14.04 (Apache 2.4.7). I know that this question has many possible duplicates, but none of them helped me yet. .htaccess ErrorDocument 404 /404....
7
votes
2answers
6k views

How to find who's accessing my server? My server is Ubuntu

I want to know all the people who access my server, is there a log that shows when and how the people access my server? --EDIT-- Sorry for not providing any more details awhile ago. My server is ...
6
votes
1answer
3k views

Applying domain name to a directory

I have a Linode instance of Ubuntu 10.4 using the LAMP stack to host an instance of Magento and a couple other things. I currently have Magento set up at: http://123.459.780.123/magento. When I ...
5
votes
1answer
1k views

How can redirect pages from old core PHP site to new Joomla site?

We have our old site into core PHP and we have developed it again into Joomla 1.5 last year (because of some limitations we have to build it into 1.5). Now the problem is the URL of sites changed as ...
5
votes
0answers
335 views

Ubuntu 14.04 can't enable .htaccess

I'm developing a website local and just switched from Windows to Ubuntu 16.04 - Sadly my .htaccess doesn't seems to work since rewrite rules don't apply and sources can't be found. I activated: sudo ...
4
votes
1answer
11k views

What steps are required to enable SSL on Apache2 with Ubuntu?

I am developing a strategy game for web where there there will be a lot of client-server traffic for sending attacks, moves, etc. Right now I send messages from the client to the server via HTTP, and ...
4
votes
1answer
5k views

Updated Apache from 2.2 to 2.4 and now my sub domains are broken

Upon trying to visit any of my subdomains here is the error recieve in my error.log file: [Tue Jul 15 11:17:42.924790 2014] [core:alert] [pid 17309] [client 108.162.241.152:26427] /var/www/.htaccess: ...
4
votes
1answer
922 views

How to create user in phpmyadmin to connect two servers?

IP my Website: 192.168.19.33 and IP Database server is: 192.168.19.41. How to create user account in phpmyadmin for the connection between the two servers? And how to edit this setting: ...
4
votes
1answer
693 views

Nginx rewrite problem - displaying same page with or without .php extension after rewrite

I have implemented the following Nginx code: location / { try_files $uri $uri.php $uri/ @extensionless-php; index index.html index.htm index.php; } location ~ \.php$ { try_files $uri =...
4
votes
2answers
2k views

How can I copy files from my machine to Amazon EC2?

I am able to ssh into my Amazon EC2 instance with ssh -i node.pem ubuntu@35.164.71.227 I am trying to copy over a folder called gametest from my laptop to the instance in a folder called gametest. I ...
4
votes
1answer
123 views

How to professionally update your server configuration

I've installed several websites on my Ubuntu server and I need now to add an extension and some modules to my php configuration file. Since I have some e-commerce websites I was wondering if I should ...
3
votes
3answers
5k views

PECL extension in Ubuntu 11.10

while setting up mediawiki on my local development machine, the installer told me that since i do not have PECL extension to php installed, i will have to do with slower page load speeds with ...
3
votes
2answers
3k views

How do I get a better PHP version to work with Plesk?

I've had an issue for quite a while now that I don't know how to fix. I'm running a VPS with Ubuntu 12.04 LTS, it has the latest version of Plesk (12.0.18 Update #34). Annoyingly, it only has PHP ...
3
votes
1answer
282 views

Magento Backup using mysqldump

I have website using magento installed in ubuntu ec2 server. I would like to do a backup of the whole magento website. I stumbled on an article that tells me to run this command http://www....
3
votes
3answers
2k views

Apache2 Ubuntu 16.04 Impossible To Get CORS Working

When visiting my website I get an error in console tab (using Firefox). The error is: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at somewebsite. (...
3
votes
1answer
101 views

Fix OpenSSL CCS vulnerability on Ubuntu 14.04

I just installed an SSL certificate from Let's Encrypt on one of my domains. Everything was fine, green lock icon on Chrome. But just to be sure, I checked the domain on ssllabs.com. And to my ...
3
votes
1answer
443 views

Need to setup and access web disk for a hosting account

I am on linux(ubuntu 12.04) and have purchased a hosting space. In the cpanel, I selected nautilus for accessing web-disk and I was given a note: Note: In order for the Web Disk to work, you ...
3
votes
1answer
796 views

How can I make my binary file is served as binary and not text when user choose “Save Linked File As…” in Safari?

I'm serving a binary file (.IPA) with Ubuntu/Apache 2.2. When I have chosen Save Linked File As... in Safari, it says it's text file. And it guides me to add .txt extension. However it does not add ...
3
votes
1answer
612 views

XenForo SEO Friendly URL returns 404 on forum page

I have my .htaccess file in the base directory of the installation of XenForo. When I enable SEO Friendly URLs, it returns error 404 only on the forums and members pages. htaccess file: # ...
3
votes
1answer
666 views

Overriding a redirect with an A record — What am I doing wrong?

We have a GoDaddy account and are using a redirect as a placeholder for our main site as dictated by management. They want "dev" and "staging" to access our application but everything else to go to ...
2
votes
1answer
4k views

CheckCaseOnly doesn't work, while CheckSpelling does

I'm trying to globally set CheckCaseOnly on to make my webservers folders case insensitive. It doesn't work though? I don't need it to correct spelling - thus I'm not using CheckSpelling. Apache2.4 ...
2
votes
2answers
477 views

Remote desktop to Ubuntu

I have a VPS server running Ubuntu OS and also have shell access to my server. I wonder is there any way to connect to Ubuntu desktop and see its UI from windows using remote desktop tools such as ...
2
votes
1answer
24 views

Do I need to change the host file of each computer to share a web page on a local network using a hostname?

I want to share a web page on a local network using a hostname. Is it necessary to change the host file of each PC?
2
votes
3answers
107 views

DNS slows down on development environment

I have a local development environment setup on my Mac. I am running an Ubuntu Web Server inside of a Virtual Box VM. I setup a host file on my Mac that points my dev site to the IP of the Ubuntu ...
2
votes
1answer
2k views

Amazon EC2 Ubuntu instance setting up domain name

I had a domain transferred to amazon using their Rout 53. at the begining when i went to the IP address 54.69.253.182, or ec2-54-69-253-182.us-west-2.compute.amazonaws.com my site would show up. ...
2
votes
5answers
12k views

How do I access PHPMyAdmin after install in Ubuntu?

I installed Apache and then PHPMyAdmin on my Ubuntu server, but I have not been able to access PHPMyAdmin at http://localhost/phpmyadmin/. http://localhost is working however.
2
votes
2answers
70 views

How do you isolate/silo websites on an Ubuntu w/ LEMP stack?

I have an Ubuntu server with NGINX/PHP/MySQL with multiple website hosted on it. Several of them are Wordpress websites for friends, so they can upload their own plugins and potentially malicious ...
2
votes
2answers
810 views

How can I create email accounts on my web server? [closed]

I'm wondering how to create an info@domain.com or any other email account (e.g., john@domain.com, ann@domain.com). What should I do? I have my domains in GoDaddy, but I would like to not pay for ...
2
votes
1answer
94 views

Unmanaged Ubuntu Server - What would I be getting myself into?

I'm considering purchasing an unmanaged VPS with a Ubuntu 12.04 server to host smaller sites that aren't very important yet. My plan would be to install webadmin and basically administrate the hosting ...
2
votes
1answer
140 views

Webserver timing out

I was working with my website yesterday when I was at home using my web address. Yesterday I installed Wordpress and it seemed to work. When I got to work today, I tried opening my website, and now ...
2
votes
1answer
2k views

How to ensure mysql starts automatically if server restarts on Ubuntu Server

Occasionally for various reasons my webhost 'reboots' my VPS after doing some routine maintenance or upgrades. However when they do, or if I reboot the server for any reason myself, mysql doesn't ...
2
votes
1answer
778 views

I cant get my domain to point to my server

I have bought a domain on Crazy Domains called techitproductions.com And at home i have a Linux Ubuntu Server running Apache, php5, ispconfig, courier mail etc... I have port forwarded port 80, 8888 (...
2
votes
1answer
1k views

.htaccess file ignored on Ubuntu Apache 2 server

I'm having a problem with an .htaccess file on a newly installed Ubuntu server running Apache2. The .htaccess file in the directory where the WordPress files are located isn't being take into account ...
2
votes
1answer
3k views

Getting 403 Forbidden after changing webroot

I am running Ubuntu with Apache (LAMP stack). When I changed the webroot from /var/www to /media/data/www, I keep getting 403 Forbidden even after chmod-ing the directory + files to 777. What did I do ...
2
votes
1answer
715 views

Trouble replacing old SSL certificate on Nginx

Disclaimer: This is my first ProWebmasters post. I thought this would be an appropriate place for this question but if it is not I'm happy to remove it. We use SSL For Free for our business site. We ...
2
votes
1answer
261 views

Can uploaded files override Apache permissions?

I teach web development courses to liberal arts majors, and the web server (Ubuntu Apache) is located in my office. At the beginning of each semester, I create public_html directories for each of my ...
2
votes
1answer
45 views

Domains hosted on Ubuntu Server(Plesk) can only send outgoing mails

I have a dedicated server(Ubuntu 16.04.1 LTS) with Plesk installed. I have few domains hosted on the server. I am only able to send outgoing mails(from webmail), none of the domains are able to ...
2
votes
1answer
981 views

ErrorDocument Not Working

I've been trying to solve this problem, I have a virtual machine with the same setup as my production server. The ErrorDocument line in 000-default.conf works on my VM, however it doesn't work on my ...
2
votes
1answer
1k views

Cakephp 3 installation on Ubuntu doesn't have permission to access index.php

I have installed Cakephp on my ubuntu webserver (well copied it in var/www/html) following this tutorial https://askubuntu.com/questions/628938/how-to-install-cakephp-in-ubuntu-14-04 I am also using ...
2
votes
2answers
1k views

Can't Make Changes via FTP on my Ubuntu Server

I'm very new to server management, I literally just set this up for the first time a couple weeks ago, no idea what I'm doing. In order to allow WordPress to run updates, apparently everything needs ...
2
votes
1answer
879 views

Migrate email account from cPanel to a non control panel server

How to migrate my email account without losing any data, in cPanel you have a /etc folder with all the config file, but how I can migrate that from my cPanel to my dedicated server in my case with ...
2
votes
2answers
364 views

Tool to generate list of redirections (sitemap for .htaccess)

Is there any good tool (preferably for Ubuntu), that can help me generate a list of URLs used on a site? I'm building new version of some site, but I don't want to get 404 errors for the old pages. ...
2
votes
2answers
556 views

PHP Development Environment (Host: Windows 7, Guest: Ubuntu)

Since editing files live from a remote server slows down development. I use XAMPP on windows to develop then run the web app's on a Linux server. However to avoid environment dependencies I'd like to ...
2
votes
0answers
109 views

“mod_fcgid: process graceful kill” and 500 error each time a large SQL file is uploaded to phpMyAdmin [closed]

This is what I'm getting when I tried to upload 19MB SQL file to phpMyAdmin. This is part of my php.ini most important config: php_value session.gc_maxlifetime 10800 php_value max_input_time ...
2
votes
0answers
295 views

Nginx + haproxy (or sslh) does not work without trailing slash in URL

Have a setup like the following: haproxy listening on 443 -> nginx listening on 4545 I have also tried this with: sslh listening on 443 -> nginx listening on 4545 This is on ubuntu server For ...
2
votes
0answers
257 views

Set default file and folder permission for new files and folders - apache , ubuntu

I checked the file and folder permission of /var/www/html/ using stat -c '%A %a %n' * Folders : 775 Files: 664 drwxrwxr-x 775 includes -rw-rw-r-- 664 index.php -rw-rw-r-- 664 maintenance.html ...
2
votes
0answers
43 views

Email sending to only one of two form addresses

I'm trying to find possible places to look for an issue that I'm struggling with on my website. Scenario: Ubuntu server uses sendmail and configured mail relay to go through our O365 servers. This ...
2
votes
2answers
3k views

Add domain to VPS (DNS?)

I have a VPS and some domains. I want to add one of my domains to the VPS. My VPS provider has send me his Nameservers like ns1.example.com and ns2.example.com and I changed these DNS records in my ...
2
votes
0answers
327 views

How to filter GET requests with Nginx, keep getting 504 after [GET] “/manager/html”

I was recently unable to reach my website, receiving a 504 time-out error instead. I checked the logs and found a GET request for /manager/html. I realize this was a failed attempt to reach a control ...
2
votes
0answers
219 views

What is the best way to automate “domain parking”? [closed]

Assume I have a domain http://go.example.com/abcdefg when example.com is server running on NGINX. The main task of that server is to proxy pass all visitors to other server and then, this other server ...