I want to refer one subdomain from another server to another subdomain on other server.
For example.
new.example.com is on SERVER1
dev.mydomain.com is on SERVER2
I need that when customer enter to new.example.com he see the website of dev.mydomain.com
I changed the DNS A records of new.example.com to the IP of dev.mydomain.com, but I need to do something on dev.mydomain.com
What configurations can I do on dev.mydomain via WHM .
Thanks
Instead working with DNS & IP the smart thing you could do is redirect new.example.com to dev.mydomain.com. You can do this by accessing Redirection option under example.com Cpanel account.
Related
For my current project I have an ADDS set up. The ADDS also has a DNS Server installed as a role. The name of my ADDS is corp.nikali.lan. I have to use the DNS Server role to redirect.
The IP address of outlook.com should be reachable by typing email.corp.nikali.lan.
At the moment all I have is the basic set-up after downloading the DNS feature. No added records or anything else.
CNAME record - records refer to an alias or redirect for a specific site or subdomain.
Two CNAME fields:
Name
Destination
Common CNAME entries:
Name: www
Destination: #
(or "yourwebsite.com")
Best example :
www.facebook.com and fb.com , some people are using a shortcut word like fb.com , you need to configure in your (NS) Name server , like the example above CNAME entries.
I want to redirect my subdomain to specific URI without making any changes to my code.
I found the domain forwarding services from Bigrock, they have a sub-domain forwarding service which specifies all subdomains will be redirected as "subdomain.mydomain.com to yourdestinationurl/subdomain/"
I replaced yourdestinationurl, with www.mydomain.com but it's not working.
Am I doing something wrong?Is there any alternative way to do this?
You may create the subdomain in the DNS Manager/Domain name zone file and point it to any URL using 'URL-Redirect' DNS record.
In other words, you need to login into the account of your domain name registrar (if the domain name is delegated to the default nameservers) or into your hosting cPanel (if you have a hosting plan). Then you need to find where to configure DNS records and configure URL-Redirect (also called URL-Forwarding) for your subdomain.
There is no need to have any plugins.
Does anyone know how I disable emails for an account on Cpanel? They host their own emails but we host their site and currently, every time we try to mail them, it just stays within the server and doesn't get to them.
I used to use Plesk and it was as easy as flicking a switch to turn emails off but I can't see that in cPanel. I've tried setting their package to 0 emails in WHM but I'm suspecting that's not going to work.
-James
if the domain example.com are pointed to your DNS
login to WHM and go to Main >> DNS Functions >> Edit MX Entry for the example.com
and when Edit the example.com choose "Remote Mail Exchanger" this will Configure server to not accept mail locally and send mail to the lowest MX record.
so double check the example.com MX records to make sure the MX records set to the valid Mail Server.
if example.com are NOT pointed to your dns and just use IP forwarding to run on your server you can remove the dns entry for example.com by delete the dns zone for example.com as it not used.
If you are trying to send mails from same cpanel server where the website hosted then mail server trying to resovle that domain locally. check the domain entry in /etc/localdomains and remove or comment that entry and you can add that domain in /etc/remotedomains.
Is there any way to redirect HTTP requests that go to mail.example.com (which is my mail server) to go to the webmail interface, example.com/webmail? I've tried to create a subdomain called mail.example.com, but it conflicts with my mail server and cPanel won't allow me to create it. Any ideas?
there are bunch of sub-domains CPanel creates for each domain. for example if you register example.com , CPanel creates:
ftp.example.com
mail.example.com
cpanel.example.com
vhm.example.com
by default all these sub-domains point at current server, so If you want to use FTP, there is no difference between example.com or ftp.example.com. Both will work.
So, for your mail sub-domain you can set a document root for it(e.g your webmail interface directory). and because SMTP and POP3 are on diffrent ports, it will work fine with mail clients like Thunderbird.
For setting document root to mail.example.com login to your CPanel and go to Advanced DNS editing part and delete mail.example.com. Then create sub-domain with this name.
You can set document root to webmail interface or redirect users to example.com/webmail.
that's your call.
Note: I haven't tested it my self but I tested such thing for FTP. Let me know if it fails.
I have two domain names:
example1.com
example2.com
on example1.com i run an webserver in a shared environment on the internet. examle2.com is only a registered domain where i can only manage DNS. examaple1.com points to ip address: 123.123.123.123. the problem is, when i go to: http://123.123.123.123 i do not come on example1.com but to the website of my hosting provider. The problem is i need to redirect example2.com to example1.com, but i cant acomplish this with an A record because my hosting provider needs an domainname to redirect me to my site.
So how could i redirect example2.com to example1.com without changing the url?
Any ideas?
Sory for my bad english.
What happens when you go to example2.com? Same thing?
If so, you need to ask your hosting provider to add a virtual host entry for example2.com as well as example1.com
you can't.
the only thing you can do by dns is to point a domain name to an ip adress.
what you need is a virtual host set up by your provider, that is configured to match the second domain.
if this isnt possible you need a webserver somewhere that serves a redirect of frame or something like that to your first domain