Moving the second (part VI)

This is odd.

I have pointed a domain name registered with 123-reg to my NAS. I have done the usual stuff (created a MySQL database, created a database for it, installed the .php front end, put the database user details in the php.config file) and…

It all works.

Ish.

And that’s a tricky ish.

When I go to http://example.co.uk (not the real name, obv), everything is peachy.

Through that URI I have access to the content and, using the correct address, also have access to the .php admin panel and the phpMyAdmin MySQL control panel.

Lovely.

But when I try and give the URI a very minor modification (such as changing the address to http://www.example.co.uk), the internet call is routed to the NAS control panel (https://www.example.co.uk:5001/webman/index.cgi).

Weird.

I’m too tired to get my head around it tonight.

But yeah.

Weird.

2 thoughts on “Moving the second (part VI)

  1. I assume you know this already but http://www.example.co.uk and http://example.co.uk are not the same domain….

    The first one is actually a sub domain – www – in the same way any other subdomain would be such as http://news.example.co.uk it’s just such a commonly-used address that mostly the www sub-domain is pointed to port 80 on the main domain…IYSWIM.

    I am guessing that you’ve not done that and therefore “www” is redirecting to the default root of the NAS internal web server on the mapped IP instead of the web server root of your site.

    Aren’t websites fun? 🙂

Comments are closed.