Please help me, I want set my ip public can be accessible with sub domain,
example:
172.168.165.150/sistem
can be accessible with subdomain sistem.domain.com
How to configure that, whether using cpanel or using methods.
Go to the subdomain tab from your cPanel home page and add a subdomain if not. In the last column of the subdomain table, there will be an option to manage redirection.
Related
I am using CloudFlare to manage my websites DNS. I want to use Page Rules to setup redirects for a number of URLs to go to another website URL.
Currently my hosting account, I have set them all up as addon domains and then setup redirects in CPanel.
I am moving across my sites to my own cloud server without a CPanel - I am using VestaCP. I don't want to clutter up the website records by adding each and every site I want to redirect to the host (there is a dozen of them) - I want Cloudflare to manage it all.
Is it possible to do this? Like use Cloudflare page rules and remove the A record pointing to the host server IP?
In order for you to use Page Rule to redirect to another site, there are 2 conditions:
Valid A record or CNAME record
That record is orange-clouded
The A record can point to any public IP address, for example 8.8.8.8, it doesn't matter because the visitor will be redirected away anyway. However it can't be IP address that belongs to Cloudflare (e.g. 1.1.1.1).
Similarly to CNAME record, can be pointed to any domain/subdomain (e.g google.com).
Cloudflare has a KB article that explains how you can configure the Page Rule to do the 301 redirection.
I am currently making a personal website. I created the templates and I purchased a google .dev domain. I decided to host it through GitHub-pages. I am able to get to the website by using "username.github.io". When I add the custom domain name (myname.dev) the "enforce https" button cannot be clicked. It also gives me the error, "Domain's DNS record could not be retrieved."
In the google domains site, I "use the google domains name servers", and DNSSEC is enabled. But I don't know what to put in for the "registered hosts" and the "synthetic records". Perhaps this is my issue? Please let me know!
You should follow "Using a custom domain with GitHub Pages", especially considering GitHUb pages only supports two types of custom domains:
apex domains ( example.com is an apex domain because it doesn't have any subdomain parts. Whereas www.example.com is not an apex domain because it contains the subdomain part www.)
subdomains (www.example.com is a www subdomain, blog.example.com is a custom subdomain)
In your case, to set up an apex domain, such as example.com, you must configure an ALIAS, ANAME, or A record with your DNS provider. See "Setting up an apex domain".
i have an Multi Tree Setup with 2 Domains. I use ipandlanguageredirect to adress the correct Language based on the ip to the users.
The configuration of ipandlaguageredirect is done in the extensionmanager so the config is globally configured. If the redirect is done now for the second domain, it got redirected to the first domain.
How can i achieve that a redirect within domain 2 is not redirected to domain 1?
I know that to make repository private, I need to change my plan to paid, but what if I want to change the default username.github.com to a custom domain?
No, it doesn't look like you would have to upgrade your GitHub account to use a domain name. From the docs at https://help.github.com/articles/quick-start-setting-up-a-custom-domain/ (the description doesn't mention anything about being a paid customer):
Pick a custom domain and register it with a DNS provider (if you
haven't already done so). A DNS provider is a company that allows
users to buy and register a unique domain name and connect that name
to an IP (Internet Protocol) address by pointing your domain name to
an IP address or a different domain name. A DNS provider may also be
called a domain registrar or DNS host.
Set up your custom domain with your DNS provider. Our guides outline
how to set up your pages custom domain with your DNS provider
depending on the type of custom domain you have.
However, these are the only domain types that are supported by GitHub (https://help.github.com/articles/about-supported-custom-domains/):
www subdomain (www.example.com)
one apex domain & one www subdomain (example.com & www.example.com)
apex domain (example.com)
custom subdomain (blog.example.com)
If you want your GitHub pages site to redirect to your domain (or someone else's) it doesn't look like there's anything stopping you from putting just a simple javascript redirect in your GitHub page to redirect to that page.
I have domain for ex. example.com. That domain blocked in malaysia. So i am planning to redirect example.com to example.my only for malaysian user. I know how to redirect domain using php, javascript etc, those are server and client level, but i dont know how to do it in domain level. My domain is registered on name.com, but it seems they dont have feature to redirect domain by country. is there any other way to do this?
You would need to use GeoIP to see if the incoming request is originating from Malaysia and then redirect accordingly.
You need to recommend all visitors to use public DNS instead of local ISP DNS which has blacklisted your site example.com.
You can block the country wise access by blocking the IP range of that company fro the control panel or from the server.