• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved website URL problem

whitevo

Feeling good, thats what I do.
Joined
Jan 2, 2015
Messages
3,454
Solutions
1
Reaction score
627
Location
Estonia
Pardon me if my terms are wrong, but hopefully you can understand what is my problem.

Since I switched my host and its location, I can't figure out how to change my IP address to "whiworld.com"
Instead I have to write: http://176.46.76.229/index.php

As I understand I have done all correctly from the site I bought my DNS (the name whiworld.com)
The A "things" are pointed to my publick IP address: 176.46.76.229
and the CNAME's are: "whiworld.com"

I have left to understand that I need to change something on my host.
I use Linux Jessie, without the desktop "thing" (aka I can only do changes in host trough command window)
My host itself is Raspberry Pi.

So far I have been able to do things with the help of Google, OTLand tutorials and Cornex help, but with this last issue, I can't find solution nor help.

Does anyone know how to change domain name on my host from IP address to actual name in Linux using the command lines?


EDIT:
It magically started kinda working.
whiworld.com still dosen't take me to my website.

but writing whiworld.com to IP changer allows it to connect to my server
 
Last edited:
Point your nginx/apache DirIndex to index.php :)


In the end it should like this:

Code:
DirectoryIndex index.php index.html

Make sure index.php is before index.html :)
 
Last edited:
Back
Top