Tag Info

New answers tagged

1

To get a website up at a domain name you need to follow these steps: Register the domain name. At the registrar, point the NameServer (NS) records to the domain name server (DNS) that will be handling the domain. On the name server, add records to resolve the host name to your server. Configure your web server to handle requests that come in for that ...


3

Your host name also needs to be added to /etc/hosts in 127.0.0.1 section. If you haven't rebooted since editing /etc/hostname you also need to set the hostname using the hostname command. This normally happens at bootup from /etc/hostname. Here is a script that I use to make sure the host name is set correctly on my Ubuntu ec2 instance: #!/bin/sh set -e ...


1

I see some problems with your rewrite rules. You don't explicitly turn on mod_rewrite with RewriteEngine On When using rewrite rules in your .htaccess file the slash at the beginning of them is assumed. Having a slash at the beginning of the rule will prevent rewrite from executing the rule. (This is different than if the rule were in httpd.conf where ...



Top 50 recent answers are included