I want to redirect my domain for example.com to a URL like http://www.jotform.me/form/3xxxxxxxxx8 .
I don't have any host I just have a domain.
How could I do it?
Well there are a couple ways you could do this. If you purchased your domain from a registrar you can put forwarding rules against it. This would depend on the registrar you use.
You could also do this with a script if you want. A method could be to make an index.php file on www.example.com with something like:
So when someone visits www.example.com your index script will kick in and redirect them to whichever URL you specify.
EDIT: You say you don't have any host. If you don't have a web server which your website is pointing at then obviosuly you have no place to load scripts. You would have to do this through your registrar.
A domain points to an IP address, which you can change to anything you want. Alternatively, you can make a domain point to another domain. In order to point to a specific page on a website, you need a hostingprovider and a script. If that website will automatically navigate to that specific page when it is being called from the domain level (example: http://site.example.com will automatically load http://example.com/site/index.php), then you can add a CNAME entry for your domain and point it to site.example.com.
Note that when people visit www.mydomain.com, they will see their browser change to site.example.com and then to example.com/site/index.php.
If you only want to do this for yourself, not for others, you can simply edit your hostsfile, and you don't even need to own the domain, but its unlikely that you want this. I only mention it for the sake of being thorough.
So what you need to do is access the control panel of your domain to set the settings, or if you don't have any, contact the person who has registered your domain and ask them to set it for you. Your domain registrar can always help you making these changes.
My answer depends on whether you can set DNS for the domain yourself in the admin panel of the provider of the domain.
As someone here suggested, you can use a CNAME to redirect the domain to another domain. That probably won't work, as you want to redirect to a specific page or path on that domain. In that case, you want to use the URL setting in the DNS admin. This will redirect your domain to a specific URL.
This solution doesn't require PHP or any other language. Those solutions won't work for you, because they require hosting!
You cant do this if you don't have a web-hosting service.
Domain name redirection
If you have a domain (e.g.
However the web-server at that IP address is probably a shared web-server that supports multiple domains and so it looks for a "HOST" header in the HTTP data to decide which website to serve up. A web-browser will put
URL path addition
To redirect from