Welcome Guest, Not a member yet? Register   Sign In
problem with domaine
#1

Hi everyone,

I have a website for a client working on codeigniter.

web site: www.abtours.be

dns lookup: http://dnslookup.fr/abtours.be

I think that the problem can come from the DNS, I don't manage dns, it's our client. I have give my ip adress and he didn't gave me the NS info.

I suspect that it's a simple redirection on the test serveru http://abtours.b-communication.be or do I have to change something in my folder / database ?

Thank you for your (futur) answer
Reply
#2

(This post was last modified: 02-03-2016, 07:34 AM by Diederik.)

Both www.abtours.be and abtours.b-communication.be point to the same IP: 37.187.75.90.

Code:
$ curl -I www.abtours.be
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Wed, 03 Feb 2016 14:31:57 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Location: http://abtours.b-communication.be/

So your webserver or application is creating the redirect.
Reply
#3

Thank you for your answer.
My problème is that if I suspend abtours.b-communication.be, the website is desactivated. It don't take the other webspace "abtours.be".
Do I have to change something in CI ?
Reply
#4

I'm sorry but that is as far as my magic goes. I can only tell you what I 'see' as an outsider. I can't tell you how your server is configured...

Either domains are aliasses of eachother, then you can redirect from within your Codeigniter application. Or they are not aliasses and you have to look elsewhere (webfolder of domain A, nginx configuration etc)
Reply




Theme © iAndrew 2016 - Forum software by © MyBB