New Web Server Change Directory
location: ubuntuforums.com - date: March 7, 2011
I have read a hundred tutorials but I must be missing something. I have setup an Ubuntu Server with lamp and I have a web server working with Apache2. I can connect to the server and get the "It works" page.
I want to make it so that I can add web pages to my home directory, and not have to use var/www. The path is /home/myname/www/nameofwebsite/websitepage.html. I want to have multiple directories for different web sites on my server. I cannot get the new directory to work.
I have copied the default file from sites-available in the apache2 folder, renamed it to mysite, and then modified the DocumentRoot area:
and the directory area
I have used /usr/sbin/a2ensite mysite, then I used /etc/init.d/apache2 reload with no errors.
When I try to access www.myhost.com/nameofwebsite/websitepage.html I get the 404 error.
What have I done wrong?
Best hardware for a new web server build
location: linuxquestions.com - date: September 30, 2009
Hello all, first post
I'm in the process of building a Linux (Debian to be precise) server that will be going into a datacentre in the UK.
The specification I've come up with is:
1 x INTEL QUAD CORE XEON X3360 2.50GHZ FSB1333 45NM 12MB CACHE
1 x INTEL S3210SHLX (SOCKET LGA775, 1333MHZ FSB, VGA, 2 x 1000MB NIC, MATRIX RAID 0,1,5,10)
2 x Western Digital WD5001AALS 500GB Hard Drive SATAII 7200rpm 32MB Cache
2 x CRUCIAL 2GB, 240-pin DIMM, DDR2 PC2-6400 memory module CT25672AA800
The case is coming from a company I've dealt with for years and will have a 350W power supply.
Now I've come to order the component, the motherboard seems to be sold out absolutely everywhere in the UK.
Can anybody suggest another motherboard / cpu combo for an entry level server?
New web server: which hardware, how to config software?
location: ubuntuforums.com - date: November 29, 2012
I'm currently looking into setting up a server for a student organization at my university. We have capital to spend on hardware, and the IT department has agreed to provide infrastructure so all we have to do is acquire the server hardware and configure it.
So, two questions:
1) Which hardware would be decent? We will probably run a virtual server with an info site and a wiki, nothing too fancy. Our budget is flexible, but as a rule of thumb, cheap is good, as long as the quality is justifiable.
2) Which software do we need for the virtual server, OS (thinking some server version of Ubuntu? I honestly know very little of Linux although I have worked a bit on Ubuntu and Red Hat), web server (Apache default choice?), anything else? Will configuration be difficult?
I have a bachelor's degree in computer science and have worked a bit with everything, but the depth of my experience is limited.
Where is the Web Server Home Directory within terminal?
location: ubuntuforums.com - date: March 2, 2012
Hope someone can help.
Am a Ubuntu newbie who is trying to setup Joomla via this link below;
Now all is going fine until the section;
"2) Extract joomla 1.5.x and move it to web server home directory. Here is an example on how to transfer Joomla to web server root directory in Ubuntu desktop:"
I've downloaded Joomla 2.5.1 and its opened up via Archive Manager but am not clear where the files should be extracted to. Where exactly is the web server home directory via the Home Folder within Ubuntu One desktop?
Basically I want to be able to find the extracted files in the terminal. Where should I look within the terminal for the extracted files?
Hope someone can help
Ubuntu version using is 11.10
how to create a new user for ftp upload in a web server using vsftpd centos
- date: June 17, 2012
I have a web server which does virtual web hosting and for each virtual host, each virtual user has been created which has access only to its respective home directory and can upload via ftp.
Now i want to create a new user(not for a new website) which can have access only to its home directory when it does ftp upload and download. So is it possible to do that because the new user is not for a new website and in httpd configuration what should i give in the "ServerName"?
Or is it ok if i give the domain name of the web server hosting those? will it not conflict?
EXAMPLE: <VirtualHost *:80>
ServerAdmin [email protected]
CustomLog logs/dummy-host.example.com-access_log common
where xxx.com is the domain of the webserver and sarah is the new user.
File permissions for web server directory
location: ubuntuforums.com - date: March 27, 2014
First time working on a server other than a shared hosting environment and I think something is not quite correct.
I have a PHP application that needs to create pdf files in a directory under /var/www/website/pdfs It works, but only if I set the file permissions to 777.
The entire /var/www directory is owned by root and I have no idea of its group. Should this not be working with a file permission of 775?
Apache web server to share a directory
location: ubuntuforums.com - date: June 10, 2008
I'm pulling my hair out over here. I'm trying to setup an apache webserver to share a directory of files over the internet. I want to setup a username and password so that only those with access can use it.
I did this on my windows machine by installing apache2 web server and sharing a single directory and using an .htaccess file.
I can't figure out how to do this with ubuntu and i'm switching from windows because I thought it was easier and more stable?
I've got apache installed... going to local host says "it works!" Everything i'm finding is telling me i need to install php and mysql, i don't want to host a website... just share a directory. Please help! The directory i want to share is on a second hard disk, i can't even figure out the direct path to it I navigate to it by hitting /media/disk/ but that doesn't work in my config files?
Thanks for any input you guys have.
Change default ubuntu screen on web server
location: ubuntuforums.com - date: May 1, 2014
How do i change the default ubunter web server screen on my web server.
I want it to show my web page. I have ftp but i don't know where to upload the file to.
Also i have a second account for a second website. But for some reason I can't get it up.
The web server is LAN IP is 192.168.0.7
This bring up the default screen which i want to change.
192.168.0.7/webuser1 just bring up 404 not found
Hope you can help
New to Linux and hosting a Web Server – I’m confused!
location: ubuntuforums.com - date: November 26, 2009
Could someone please help me? I am brand-spanking new to Linux and setting up a web server and I am trying hard but now am really starting to tear my hair out…
I am trying to set up my own web site hosted from home via my ADSL service provided by my ISP, which is TPG Internet (Australian ISP). I have a separate 2.66 GHz Pentium 4 PC that is linked to my Netgear wireless router via an Ethernet cable. I have installed Ubuntu server 8.04 Hardy Heron on the PC and have also installed LAMP and EHCP. I have followed a tutorial for setting up PHP and Apache and all systems appear to be working okay.
I have registered a domain name with AustDomains, my registrar. My ISP has given me a static ISP address and do not block any ports.
The PC has an IP address of 10.0.0.5, which shows “It works!” when I type it in, which I understand means that Apache is working. I can also view my control panel through http://10.0.0.5/vhost/ehcp. I can also SFTP to my server via FileZilla using this IP addre
SSH to remote server node and change directory
- date: November 6, 2013
I wanted to achieve the following task:
step 1: ssh to the remote server
step 2: ssh to a node connected to that server
step 3: change to a particulat directory of that node
I was looking for a ssh one liner and issued the following command
ssh -t -t [email protected]
"ssh node; cd /my/directory/"
However, the last cd command did not work. I am still in my home
directory of the node in remote server. I tried to remove the ";" part,
and issued the following one liner:
ssh -t -t [email protected]
"ssh node cd /my/directory/"
No success. The message was "Connection to remote.server closed"
I was wondering whether it is possible to achieve this task
using an ssh one liner.
Thanking you in advance for your inputs
Page: 1 2 3 4 5 6 7 8 9 10