Search

Hi,

I don't know whether my problem is new or exists from the beginning. The trouble is when I use naked domain name like: http:domain.fr

In such a case I get an error page. In fact http:domain.fr/503.shtml.

But http:domain.fr/home works and in such a case {$root} equals 'http:domain.fr' and all the menu links work (e.g. http://domain.fr/an-other-page. But the menu link to the home page (which is index) doesn't work.

When I used http://www.domain.fr everything works properly but this time {$root} is 'http://www.domain.fr'

I have an other site at another hosting and I don't face this problem.

In fact I would like to have my site working indifferently with www.domain.fr or domain.fr.

Have you set a symphony page 'page type' to 'index' at all?

Symphony needs an index page assigned to serve as the root page of the site.

This might either be a problem with the domain's DNS records or with the hosting setup.

I would check:

  1. Do both domains (with and without "www") point to the same IP address?
  2. In your provider's admin panel, do both domains point to the same folder of your webspace?

Hi,thank you for help.

I have an "Accueil" page (handle home under /) which has the index type. I was guessing I have some hosting setup problem and, as michael suggest, I am going to check this first. Give you some feedback asap.

Here is what I have — among other stuff for subdomains — in the advanced DNS configuration on my cpanel

localhost.denentzat.fr. 14400   IN  A   127.0.0.1
www.denentzat.fr.   14400   IN  CNAME   denentzat.fr
denentzat.fr.   14400   IN  TXT v=spf1 +a +mx +ip4:109.234.160.36 ?all  
denentzat.fr.   14400   IN  A   109.234.160.36

I confess I am not specially clever at DNS record syntax but this seems to indicate that both denentzat.fr and www.denentzat.fr point to the same IP.

Yes, that looks good. So I guess that the problem is with the hosting setup.

Can you just throw some static HTML file (index.html) into the web root, then try to access your site with both domains? (With this test we would ensure that the problem is not correlated to Symphony. Static files will be delivered by Apache without any Symphony logic.)

Eventually, I cleared the cache of my browser and now it works. But what I don't understand is how the cached page became unavailable ? Whatever it is thanks a lot.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details