How to deny other hostname or domain name pointing to same IP address in MySQL

Im using Cento 6.5
and
MySQL version 5.6.25
For example:
IP address:
192.168.1.250
this IP has 2 domain name
1. db.mysqldatabase.com
2. web.mysite.com
i want to block or deny the 2nd domain name in database hostname
if i update our Mysql Connection should be like this
$connection=mysql_connect("db.mysqldatabase.php","userdemo","demo");
$db=mysql_select_db("db_demo",$connection);
?>
But if i use also web.mysite.com i still connected i want to use web.mysite.com as my url website
and db.mysqldatabase.com as my database connection.
is it possible?
Thanks
This topic first appeared in the Spiceworks Community

Hi Linda, are you referring to the Domain Name showing in the Connectivity Tab of the Linksyssmartwifi utility? The Domain Name is automatically assigned by Comcast. This setting will depend on the type of internet connection that is set up for you by your ISP. Can you give me more details of your Internet connection set up? I'd like to see how it goes. Did Comcast provide you a new Domain Name?

Similar Messages

  • How to change IP, Hostname and domain name for Oracle Application R12

    Hi,
    I'm new to Oracle, we used to have one production and one test server for Oracle Application R12, but the test server was corrupted, so we decided to clone production server and create a new test server, after cloning and creation of test server, how should we do to change IP address, hostname and domain name for test server?
    Our production and test server environment is:
    Linux Enterprise AS 2.6.9
    Application module: E-Business Suite Treasury only
    Your advice will be much appreciated.
    Regards,
    Kenneth
    Edited by: 850209 on Apr 7, 2011 5:37 PM

    850209 wrote:
    Hi,
    There are few tnsnames.ora and listener.ora files in the system, how to know which one are effective? If I change tnsnames.ora hostname entry, do I need to change listerner.ora file also?
    Thanks.
    Regard,
    Kenneth.tnsnames.ora is used only by client processes. listner.ora is used only to configure the listener, and that is a server side issue only. In addition, the listener can start without any listener.ora at all, using all default values. See my discussion of tns issues at edstevensdba.wordpress.com
    If you are using dbcontrol, you will most likely need to reconfigure it, using the emca utility.

  • How do i use my own domain name with creative cloud?

    how do i use my own domain name with creative cloud?
    i don't want to post web pages from behance.net. i want to use the domain name i have for my material. is there a hosting service for this? if not, can someone give me some pointers so I can publish?
    thanks!!
    Lori

    http://forums.adobe.com/community/behance is where you would ask about publishing to "something else" from that program
    I use OLD Dreamweaver, and upload my HTML with an FTP program to my own web site... I will GUESS you can do that, if you can save HTML to your hard drive to then be able to upload to your web site

  • HT204053 how do i add another apple user name with my same account, cuz i have more then 5 devices

    how do i add another apple user name with my same account, cuz i have

    No problem, just "deauthorize all" and then authorize the four individually. You will lose nothing - except the ability to "deauthorize all" for another year.
    Don't change your Apple ID.

  • Need to set hostname and domain name

    Hi All,
    I need to
    1) set my "hostname" (foo), and
    2) set my "domain name" (acme.local)
    such that my machine identifies itself as "foo.acme.local". Anyone know how to do this? (I found the host name in file sharing, but it will not let me set the domain name.)
    Many thanks,
    -T

    etresoft wrote:
    Your domain is the name of your server.
    What gave you that idea? My domain name is "acme.local". It is not the name of my server. I have three servers on my network. The one with the DNS, DHCP, and firewall servers on it called "server.acme.local".
    I am confused about why you feel the need to have a subdomain.
    This is not a subdomain. What gave you the impression I was asking for a subdomain?
    What you seek to accomplish is entirely unnecessary and far more involved than just editing a config file.
    Pretty easy in Linux and Windows. They just grab the domain name from the DHCP server. Or, you can hand configure them if you wish. Do you know how accomplish same in 10.6.4?
    Give your machine a name in System Preferences > Sharing and it will have the name "whatever.local". That is all you need.
    I would like to the entire network name displayed correctly. "whatever.local" is incorrect. It should be "machinename.domainname" or "foo.acme.local". In my example, "foo" is the machine name ("whatever" in your example) and "acme.local" is the domain name. (Not the server's name, by the way.)
    "System Preferences > Sharing" will not let me add any extra periods. And will not let me change the ".local" either. (In this instance, I want the ".local".)
    Here is the reverse rule I had to hand create:
    182 PTR foo.acme.local.
    (The dot on the end is not a mistake.)
    I do not want a stray computer floating around that does not identify itself correctly. "foo.acme.local" is correct. "foo.local" is not.
    By the way, this computer gets its IP address from a DHCP server, which does tell this Apple what the domain name is. (It gets ignored.)
    /etc/dhcpd.conf
    option domain-name "acme.local";
    That is the config file for your DHCP server. You would use this if your machine were sharing its internet connection, for example. You don't need to edit this file.
    You misunderstand. The DHCP server, not on this Mac, is not being used to share Internet connections. It is being used to assign IP addresses to machines on the local network. It is also being used to assign fixed IP's to network printers based on their MAC addresses. In my network, these are "off Internet" addresses. The firewall, also not on this Mac, it used to share a single Internet connection with all the internal users.
    Hmmm. I created the file (dhcpd.conf) by hand. And, yes I do need to edit it all the time. Especially when I have bone headed machines on my network that do not follow or respond to standard networking conventions. This Mac does not accept the domain name given to it by my DHCP server and as such my DHCP server will not automatically update my DNS tables.
    Evidence of this can be found in the dhcpd.leases, where I had to hand enter
    client-hostname "foo";
    into the lease table (did not do me any good).
    I am wondering if 10.6.4 is not capable of handling this kind of standard network naming convention. (FreeBSD, which Apple run on top, is capable, so I am confused.)
    MacOS X does not run on top of FreeBSD. They are different operating systems. MacOS X has a POSIX layer which most closely resembles BSD, that is all.
    Interesting. Thank you for pointing out the difference. I bet POSIX know how, just like FreeBSD, which it resembles.
    If I change the name in /etc/hosts, will Apple over ride it? (I am not at the machine or I would just try it.)
    You do not "change" the name in /etc/hosts. You are just adding entries into your machine's lookup table. You can add as many aliases to as many IP addresses as you want. This is not the same as changing your machine's name, but it may be sufficient for what you are trying to accomplish - assuming I knew that, which I don't.
    Then, where do I make the change?
    10.6.4 did not tell the DHCP server what its name was either, so I had to hand add it into my DNS forward and reverse records. AAAAHHHHH!!!!
    I strongly advise against editing files you don't understand.
    I create my entire DNS configuration by hand, including my forward and reverse tables. Oh yes, I understand it, do I ever understand it. You should not jump to conclusions: it is insulting. I am presuming you meant no insult. Just be more careful next time.
    I think that what is happening here is that 10.6.4 is not set up to follow standard network naming conventions. I would posit that the idea is to keep home users out of trouble. Probably a good thing. If 10.6.4 is not capable of using standard naming conventions, (or following standard DHCP conventions), I would just like a confirmation of that so I will stop trying to figure out how to do it. And, stop wasting my time and just hand configure any additional Mac's that enter my network.
    Again, a "confirmation that it can not be done", or "how to do it" is what I am looking for.
    Thank you for the assistance,
    -T

  • How do I use my own domain name  with Mac server with iWeb

    For a number of years I have had my own domain name that when typed into a browser it would redirect the browser to my site on the .Mac server. I hear with iLife ’08 I can have my own domain name hosted by .Mac so I know longer have to have the long addresses for each pages the I have now for my site (i.e. the http://web.mac.com/thewildhearts/WildheartPhotography/NatureGalleries.html). How do I go about getting my domain name (wildheartphotography.com) so that Mac will host it and do I need to notify the current host that Mac will be hosting my site now?
    Thanks. I really appreciate the help I get from this forum.
    Pat

    It's very easy, really. You go to your domain control and redirect the address. IPower, for example points the domain name very easily: you just type in the URL of your site and it will point to your mac server.
    I've used GoDaddy before and it is a bit more difficult to "point".

  • How do you get a new domain name?

    I know it must be very simple to do but I just can't understand this process.
    Do you have to buy a domain name from places like godaddy.com first?
    Or can you created it on MobileMe for free?
    Does it take 48hours to take effect?
    Thanks

    All domain names must be purchased from an domain name provider. GoDaddy.com is just one of many providers.
    Once you purchase your name and publish the site you can set up MobileMe to use that domain name in one of two ways:
    1 - using the CNAME feature of MobileMe. These documents describes how it is done:
    http://docs.info.apple.com/article.html?path=MobileMe/Account/en/acct17114.html
    http://help.godaddy.com/article/4100
    2 - using the regular domain name forwarding like this example thru GoDaddy.com (this assumes you purchase the name thru GoDaddy) as seen in this screenshot:
    Click to view full size
    OT

  • How to retrieve the fully qualified domain name from the IP Address?

    Hi,
    How can i retrieve the commplete host name along with the domain name (something like x.y.com) of a server?
    I tried using the InetAddress.getHostName(), getCanonicalHostName(), etc but it retrieves me only the host name (only x in x.y.com)
    Is there a way to solve ?
    Thanx and Regards
    Biju Nair

    getInetAddress() of Socket Class will return the remote IP address in a InetAddress object.
    Use the object with the getCanonicalHostName() of InetAddress class.
    I may be wrong though. Cheers!

  • How to set-up Fully Qualified Domain Name in WIN2k3?

    Dear Experts,
    Admin, please rederict if this is the wrong forum.
    I need to set up a FQDN for our one host demo system running on Windows Server 2k3. How do I set it up (without compromizing our system)? On this host we have ECC 6.0 and GRC running.
    We don't have a registred domain.
    Kind Regards,
    Vit Vesely

    Hi,
    Set your domain name as FQDN (fully qualified domain name.)
    1) start the transaction RZ10.
    2) select INSTANCE Profile name where your server name is given.
    3) Select Extended Maintenance.
    4) Click on change button.
    5) Change parameter icm/host_name_full to FQDN
    6) Copy your settings with new version number.
    7) Activate that version.
    8) Restart your WAS (Transaction code SMICM -> Administration Menu).
    Check that the following services are active in your ICF setting (transaction code SICF)
    /default_host/sap/bc/bsp/sap
    /default_host/sap/bc/bsp/sap/system
    /default_host/sap/bc/bsp/sap/public/bc
    /def ault_host/sap/public/bc
    /default_host/sap/public/bc/ur
    /default_host/sap/public/bsp/sap/public
    /default_host/sap/public/bsp/sap/public/bc
    /defaul t_host/sap/public/bsp/sap/system
    /default_host/sap/public/bsp/sap/htmlb
    Set Request Hanlder Class, add Standard Class provided by SAP to default\sap\bc\bsp\sap service. Right click on default\sap\bc\bsp\sap service service.
    Now select display service, go to Handler Tag, and add the class CL_HTTP_EXT_BSP, which is a default HTTP request handler class.
    Specifically for fully qualified domain names problems,
    see:
    434918 Configuration for fully qualified host names for BSP
    654326 Domain restrictions in a portal environment         
    654982 URL requirements due to Internet standards          
    677118 SP31  >: Fully Qualified Domain Names Check         
    763427 Error message for domain name with underscore  
    Regards
    Krishna

  • Other than .mac domain name

    I'm really new at this folks, so please bear with me. I have a .com domain name and I would like to use iWeb to publish my web page(s), I think. Can I do this? As I said, I'm really new at this and still have a lot to learn about web hosting, (which I'm not even sure what that is yet) and creating my website but hey, you gotta start somewhere right? Any help or advice would be greatly appreciated. How limited am I if I do end up using iWeb?

    Let me try to flesh out some concepts for you...
    You need both a domain name and a hosting account to be able to have people type in your domain.com address and see your hosted web pages. So I know you definitely have a domain name. What I am not sure about is whether you have a web host or not. As far as you web host goes, you can host your iWeb designed pages either on .Mac or on a 3rd party web host. The easiest place to find a 3rd party web host would probably be the same company you registered your domain name from.
    Of course, things are easiest in the purest Apple sense if you join .Mac for your web hosting needs. Several iWeb features only work if your pages are hosted on .Mac, and of course with .Mac you have the luxury of uploading your pages directly from iWeb.
    If you use a 3rd party host, then you can still design your web pages in iWeb, but your publishing option is limited to publishing your entire site to a folder, which then needs to be uploaded via your favorite FTP program to your 3rd party web host. The process isn't difficult once you get the hang of it, but you are required to upload your entire site each and every time you make even a little change (as opposed to just uploading the changes from iWeb directly if you are using .Mac).
    So there are slight differences depending on who you choose to host your webpages. Tom has already provided you with tips for 3rd party webhosts. I would highly recommend going with .Mac if you don't already have a web host in mind. The tight integration of .mac with OS X even without iWeb is worth the extra money in my mind.
    But you have to make up your own mind. Good luck! And happy iWebbing!

  • How to convert URL to its domain name

    Hi,
    I need to get the client machine name to track who had logged on to the website. I know how to get the url using the request as : request.getRequestUrl(), but is there a way i use this information to get the domain name for the url?
    Thanks a lot.
    cc

    Well if you have the actual URL, then can't you just parse the string, extracting the portion after the last dot for example?
    Also, you may want to take a look at the java.net.InetAddress class --it has static methods for returning both the IP and the name of a computer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can I use a custom domain name?

    I noticed that when I try to publish my website, it prompts me to provide a domain name which will have ".businesscatalyst.com" tagged on the end. Is there a way to publish this site to a domain name I already own?

    After you publish to a free temporary BC site, you can either pay for the hosting on BC, or if you have a subscription to Muse or Creative Cloud you can redeem one of your included site hosting credits to push the site live, then you can assign your domain name to the site.
    http://helpx.adobe.com/muse/tutorials/upgrading-launching-your-muse-site.html

  • How to set Netbios/Partial Qualified Domain name for a Mac?

    Is it possible to set a Netbios/Partial Qualified Domain name for a Mac the way one sets it for a PC? If so, where can this be set? Apparently, this is what my router uses to report clients connected by DHCP.
    Mike

    You're looking for something completely different if
    what you're after is to have your DHCP server (your
    router) report your computer name.
    yep - that's what I'm looking for but everything else didn't pan out so I'm following up the suggestion of our IT guy (which is that it reports the Netbios name).
    I don't know what brand or model of router you're
    using but with a Linksys brand router it reports the
    yep - I've got a Linksys, about 2 years old (802.11b).
    computer name, which is set on your Mac under Apple
    menu --> System Preferences... --> Sharing. The
    Linksys router will report the computer name
    typically found under Status --> Local Network -->
    DHCP Clients Table.
    nope - I've got it set as "Michael Levin Laptop", but the Linksys router shows it (and all of the other Macs on the network) as "¸#Єª"... Any way to debug this?
    What you'll notice is that none of this has anything
    to do with Windows. Today's basic networking is
    platform agnostic.
    I thought so; it was a desperation move, based on my IT person's suggestion...
    Thanks,
    Mike

  • AVS 3120 not resolving hostnames without domain name

    Dear friends,
    Why could be this happenning? My domain name servers are configured inside the box and are up and functional. Inside AVS, I can ping to "server.domain.com", but when I ping only to "server", the answer I get is "unknown host: server". What shall be done to solve this?
    Cheers!

    This can be caused by wrong mapping which can lead to wrong destination or incorrect VIP which having a set of url policies that are misdirecting

  • Custom domain name pointing issues

    Hi
    I've set my custom domain name for my webpages and it is working fine - www.domain.com points to my iweb site. But how can i make sure that domain.com (without the www.) also points to my iweb site? I know I could change settings on my domain registrar (godaddy) and create an A record but it requires an IP address to point to...
    Any ideas?

    But how can i make sure that domain.com (without the www.) also points to my iweb site?
    Please read the 3rd bullet on the godaddy instructions
    http://help.godaddy.com/topic/163/article/4100
    I know I could change settings on my domain registrar (godaddy) and create an A record but it requires an IP address to point to...
    If you want to do it that way, you use the IP for web.me.com You can find this at any of the countless websites which let you look up IP's.

Maybe you are looking for

  • What can be done to fix error 7  message when trying to install itunes

    i am trying to download itunes onto my hp pavillion computer with windows 7 and keep getting error y message--can anyone tell me in non nerd terms (im really tech unsaavy) how to fix the problem?

  • Ipod nano 7th generation usb problem

    New iPod nano 7th generation not being recognized when USB plugged in. Not showing a new device or anything.  Have uninstalled/installed iTunes7.  USBs working with other devices including iPhone4S.  Using Windows 7 Home version with all updates.  Ha

  • Display custom messages in Writeback Reports OBIEE 11g

    Is there any way i can display a custom message when user enter the wrong data(conditions).I am using OBIEE 11.1.1.7.1. Anyone please help me out here. Thanks, prassu

  • PDF's from some locations don't work

    When I try to download an owner's manual (for example) PDF from Frigidaire's website I get the following error message. "Safari can’t open the page “ftp://ftp.electrolux-na.com/ProdInfo_PDF/Lassomption/318200924en.pdf” because the network connec

  • Laptop like ibook clamshell

    okay so i know you guys released that colorful laptop back in 1999 called the ibook clamshell g3, and yeah i know it has horrible hardware and stuff.  So right now, I was wondering if there is any laptops out there like that one that have like the tr