A record, hosting IP

I need to point A record of my own domain to the IP of my hosting, but I can’t find it.
www cname is working fine, but without “www” I only see my default domain registrar page.

I’d like to mantain my registrar nameservers because I use the mailboxes included in the domain registration.

Thank you.

what is your website?

http://www.maybetomorrow.it -> CNAME maybetomorrow.000webhostapp.com

ok now simply create “.htaccess” and paste this

RewriteEngine on
RewriteOptions inherit

RewriteCond %{HTTP_HOST} ^maybetomorrow.it$ [NC]
RewriteRule ^(.*)$ http://www.maybetomorrow.it$1 [R=301,L]

note : “.htaccess” file should be in “HTACCESS” format only like this,

After this if you open your website… without www or with www…it will open

Well, I tried but just like I thought, htaccess isn’t enough.
You have to set an A record in order to make things work.

Anyway, thank you.

u have added your domain with www

you should have done like this…

But instead …u should have added domain without www.

then, it look like this

after that… u should have …click on manage and then click on link website
like this

after this…it will look like this

If you would have done like this…you could have open your website with or without www

You have a parked domain, mine is only pointed.

u can do like this…i mean parked process(which is recommended too)…!!! in this way u can use your domain email and also u dont need add any A records too.

simply just add name servers on your domain dns and go for rest of the process…

then you can access your website with or without www

What is your domain and who is your registrar?

My registart is “register.it”

I think that best solution is to use Cloudflare like posted here:

I’m trying and will let you know.

Okay well most of the time for using a CNAME

I would go to the registrar and point CNAME > yoursite.000webhostapp.com

Then I’d forward on the registrar website using URL forwarding, and forward your website http://yoursite.com to http://www.yoursite.com

Now your website should load 000webhost content both with and without www.

1 Like