This translation is older than the original page and might be outdated. See what has changed.
You are here: start » en » centro » servizos » aloxamento_web

Web hosting

This is an old revision of the document!


Web hosting

Service description

Hosting for web pages made by researchers in the following areas:

  • Personal pages, with domain persoal.citius.usc.es
  • Project pages, with domain proxectos.citius.usc.es
  • Event pages, with domain eventos.citius.usc.es

The server preprocess content using PHP 5.3 and has MySQL 5.5 as database.

By default you have 100MB storage but more can be requested.

PHP is configured with the following options:

disable_functions = exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
open_basedir = $HOME/public_html
memory_limit = 196M
post_max_size = 10M
upload_max_filesize = 10M

Git, Grunt, Gulp y Node 4.x are installed to ease deployments. If any other software is needed it can be requested.

Activation

Each new web space requires a new request using the requests and problem reporting form using your CITiUS account.

If the request is for an event or a project specify the desired name for the URL. For a personal page the URL name doesn't have to be the same as your username.

Specify also if more than the default 100MB or MySQL are needed.

You'll receive the connection info via email whit subject «Alta en el servicio “Alojamiento web”».

Help

Access using FTP, SFTP, SSH

The connection data to access the web server and copy files are:

  • Server: 172.16.242.42
  • FTP port: 46021
  • SFTP and SSH port: 46022
  • User: name_of_the_webspace.subdomain. If the page is accessible in http://eventos.citius.usc.es/waf2012 then your username will be waf2012.eventos.
  • Password: It is not the same as your CiTIUS password. Check the email received after requesting the web space. To recover a lost password use the requests and problem reporting form.

You can connect grafically using dedicated programs or in Ubuntu accessing to Places » Connect with the server.

MySQL Databases

Be aware that if you didn't request database access you must in order to use them, because they are not created by default. Databases are only accessible from the server. Data needed for the connection:

  • User: as name.subdomain, with a 16 character limit. If your username is longer than 16 characters then use the first 16.
  • Password: same as in SSH and FTP.

Page listing

The main page of the three domains has a list of the pages inside. In order for your page to appear in the list there must be a valid *info.xml file in the main directory of your webspace.

In your account you'll find a info.xml.example that must be filled in and renamed to info.xml. The same file can be downloaded here:

info.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!-- INSTRUCCIONS: Establece correctamente Los siguientes datos y renombra este archivo a 
     info.xml para que la página aparezca listada en la página principal del dominio. -->
<web>
	<!-- Título, debe ser un nombre corto de como mucho 30 caracteres -->
	<titulo>Título</titulo>
        <!-- Subtítulo, puede ser un nombre largo de unos 80 caracteres -->
	<subtitulo>Subtitulo</subtitulo>
        <!-- Imagen de fondo que aparecerá en el botón de la página. Debe ser de 502px x 210px.
             La imagen será modificada automáticamente para adaptarse al estilo de la página -->
	<foto>info.png</foto>
	<!-- Nombre del directorio. DEBE ESTABLECERSE CORRECTAMENTE. Por ejemplo, si la
             página está accesible por http://proxectos.citius.usc.es/servando, en este
             valor se debe poner "servando" sin comillas. -->
	<dir>directorio</dir>
	<!-- Establecer la fecha de caducidad. Tras cumplirse esta fecha, la web
             seguirá apareciendo, pero en un listado de páginas archivadas más abajo -->
	<caducidad>2020-01-01</caducidad>
</web>

Web server write permission

The server runs under a user that belongs to the same main group that the hosting users. By default, the group doesn't have write permission, so in order to allow the web server to write somewhere you'll have to give write permission to the group manually. Wordpress makes a incorrect detection and does not allow to install or update new plugins, but it can be manually solved.